Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -15,6 +15,10 @@ committal in the CVS repository !
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
Mar. 11th, 2019 - G.Cosmo (procuts-V10-04-01)
|
||||
- Fixed typos in printouts in G4PhysicsTableHelper and G4ProductionCutsTable.
|
||||
|
||||
Aug. 13th, 2018 - H.Kurashige (procuts-V10-04-00)
|
||||
- clean up codes (use nullptr, and so on )
|
||||
|
||||
|
||||
@@ -63,8 +63,8 @@ class G4MaterialCutsCouple
|
||||
virtual ~G4MaterialCutsCouple();
|
||||
|
||||
// equal opperators
|
||||
G4int operator==(const G4MaterialCutsCouple &right) const;
|
||||
G4int operator!=(const G4MaterialCutsCouple &right) const;
|
||||
G4bool operator==(const G4MaterialCutsCouple &right) const;
|
||||
G4bool operator!=(const G4MaterialCutsCouple &right) const;
|
||||
|
||||
public: // with description
|
||||
void SetMaterial(const G4Material*);
|
||||
@@ -127,13 +127,13 @@ inline
|
||||
{ return fCuts; }
|
||||
|
||||
inline
|
||||
G4int G4MaterialCutsCouple::operator==(const G4MaterialCutsCouple &right) const
|
||||
G4bool G4MaterialCutsCouple::operator==(const G4MaterialCutsCouple &right) const
|
||||
{
|
||||
return (this == &right);
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4MaterialCutsCouple::operator!=(const G4MaterialCutsCouple &right) const
|
||||
G4bool G4MaterialCutsCouple::operator!=(const G4MaterialCutsCouple &right) const
|
||||
{
|
||||
return (this != &right);
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@ class G4ProductionCuts
|
||||
virtual ~G4ProductionCuts();
|
||||
|
||||
// equal opperators
|
||||
G4int operator==(const G4ProductionCuts &right) const;
|
||||
G4int operator!=(const G4ProductionCuts &right) const;
|
||||
G4bool operator==(const G4ProductionCuts &right) const;
|
||||
G4bool operator!=(const G4ProductionCuts &right) const;
|
||||
|
||||
public: // with description
|
||||
// Set Cuts methods
|
||||
|
||||
@@ -70,8 +70,8 @@ class G4VRangeToEnergyConverter
|
||||
virtual ~G4VRangeToEnergyConverter();
|
||||
|
||||
// equal opperators
|
||||
G4int operator==(const G4VRangeToEnergyConverter &right) const;
|
||||
G4int operator!=(const G4VRangeToEnergyConverter &right) const;
|
||||
G4bool operator==(const G4VRangeToEnergyConverter &right) const;
|
||||
G4bool operator!=(const G4VRangeToEnergyConverter &right) const;
|
||||
|
||||
public: // with description
|
||||
// calculate energy cut from given range cut for the material
|
||||
|
||||
@@ -29,8 +29,9 @@
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// Class Description
|
||||
//
|
||||
// G4PhysicsTableHelper is a static utility class
|
||||
// for helping proceeses to build their physics table
|
||||
// for helping processes to build their physics table
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// First Implementation 20 Aug. 2004 H.Kurashige
|
||||
@@ -145,7 +146,7 @@ G4bool G4PhysicsTableHelper::RetrievePhysicsTable(G4PhysicsTable* physTable,
|
||||
#ifdef G4VERBOSE
|
||||
if (verboseLevel>1) {
|
||||
G4cerr << "G4PhysicsTableHelper::RetrievePhysicsTable ";
|
||||
G4cerr << "Fail to retreive from "<< fileName << G4endl;
|
||||
G4cerr << "Fail to retrieve from "<< fileName << G4endl;
|
||||
}
|
||||
#endif
|
||||
G4Exception( "G4ProductionCutsTable::RetrievePhysicsTable()",
|
||||
|
||||
@@ -75,13 +75,13 @@ G4ProductionCuts & G4ProductionCuts::operator=(const G4ProductionCuts &right)
|
||||
|
||||
|
||||
|
||||
G4int G4ProductionCuts::operator==(const G4ProductionCuts &right) const
|
||||
G4bool G4ProductionCuts::operator==(const G4ProductionCuts &right) const
|
||||
{
|
||||
return (this == &right);
|
||||
}
|
||||
|
||||
|
||||
G4int G4ProductionCuts::operator!=(const G4ProductionCuts &right) const
|
||||
G4bool G4ProductionCuts::operator!=(const G4ProductionCuts &right) const
|
||||
{
|
||||
return (this != &right);
|
||||
}
|
||||
|
||||
@@ -437,7 +437,7 @@ G4bool G4ProductionCutsTable::StoreCutsTable(const G4String& dir,
|
||||
#ifdef G4VERBOSE
|
||||
if (verboseLevel >2) {
|
||||
G4cout << "G4ProductionCutsTable::StoreCutsTable " ;
|
||||
G4cout << " Material/Cuts information have been succesfully stored ";
|
||||
G4cout << " Material/Cuts information have been successfully stored ";
|
||||
if (ascii) {
|
||||
G4cout << " in Ascii mode ";
|
||||
}else{
|
||||
@@ -458,7 +458,7 @@ G4bool G4ProductionCutsTable::RetrieveCutsTable(const G4String& dir,
|
||||
#ifdef G4VERBOSE
|
||||
if (verboseLevel >2) {
|
||||
G4cout << "G4ProductionCutsTable::RetrieveCutsTable " ;
|
||||
G4cout << " Material/Cuts information have been succesfully retreived ";
|
||||
G4cout << " Material/Cuts information have been successfully retrieved ";
|
||||
if (ascii) {
|
||||
G4cout << " in Ascii mode ";
|
||||
}else{
|
||||
|
||||
@@ -130,12 +130,12 @@ G4VRangeToEnergyConverter::~G4VRangeToEnergyConverter()
|
||||
|
||||
}
|
||||
|
||||
G4int G4VRangeToEnergyConverter::operator==(const G4VRangeToEnergyConverter &right) const
|
||||
G4bool G4VRangeToEnergyConverter::operator==(const G4VRangeToEnergyConverter &right) const
|
||||
{
|
||||
return this == &right;
|
||||
}
|
||||
|
||||
G4int G4VRangeToEnergyConverter::operator!=(const G4VRangeToEnergyConverter &right) const
|
||||
G4bool G4VRangeToEnergyConverter::operator!=(const G4VRangeToEnergyConverter &right) const
|
||||
{
|
||||
return this != &right;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user