From 72095f7cc52685042c852d07c72c45a704812779 Mon Sep 17 00:00:00 2001 From: ivana Date: Thu, 9 Aug 2001 11:04:25 +0000 Subject: [PATCH] added comment lines separating methods --- TGeant4/TG4ElementTable.cxx | 8 +++-- TGeant4/TG4G3ControlVector.cxx | 8 +++++ TGeant4/TG4G3CutVector.cxx | 14 +++++++++ TGeant4/TG4G3PhysicsManager.cxx | 28 ++++++++++++++--- TGeant4/TG4G3Units.cxx | 2 ++ TGeant4/TG4GeometryOutputManager.cxx | 31 +++++++++++-------- TGeant4/TG4Globals.cxx | 5 +++ TGeant4/TG4IntMap.cxx | 10 +++++- TGeant4/TG4Limits.cxx | 16 ++++++++++ TGeant4/TG4Messenger.cxx | 6 ++++ TGeant4/TG4ModularPhysicsList.cxx | 17 +++++++++- TGeant4/TG4NameMap.cxx | 13 +++++--- TGeant4/TG4ParticlesManager.cxx | 18 ++++++++++- TGeant4/TG4PhysicsConstructorEM.cxx | 4 +++ TGeant4/TG4PhysicsConstructorHadron.cxx | 4 +++ TGeant4/TG4PhysicsConstructorOptical.cxx | 4 +++ .../TG4PhysicsConstructorSpecialControls.cxx | 4 +++ TGeant4/TG4PhysicsConstructorSpecialCuts.cxx | 4 +++ TGeant4/TG4Polycone.cxx | 9 +++++- TGeant4/TG4Polyhedra.cxx | 8 +++++ TGeant4/TG4RunMessenger.cxx | 6 ++++ TGeant4/TG4SpecialControls.cxx | 6 ++++ TGeant4/TG4SpecialCuts.cxx | 7 +++++ TGeant4/TG4SteppingAction.cxx | 6 ++++ TGeant4/TG4TrackingAction.cxx | 6 ++++ TGeant4/TG4VXMLConvertor.cxx | 2 ++ TGeant4/TG4VisManager.cxx | 16 ++++++++++ TGeant4/TG4XMLConvertor.cxx | 31 ++++++++++++++++--- TGeant4/TG4XMLGeometryGenerator.cxx | 16 +++++++++- 29 files changed, 277 insertions(+), 32 deletions(-) diff --git a/TGeant4/TG4ElementTable.cxx b/TGeant4/TG4ElementTable.cxx index 2e019e53e90..5b163915c99 100644 --- a/TGeant4/TG4ElementTable.cxx +++ b/TGeant4/TG4ElementTable.cxx @@ -12,25 +12,27 @@ TG4ElementTable* TG4ElementTable::fgInstance = 0; -// lifecycle - +//_____________________________________________________________________________ TG4ElementTable::TG4ElementTable() { // Construct(); } +//_____________________________________________________________________________ TG4ElementTable::TG4ElementTable(const TG4ElementTable& right) { // TG4Globals::Exception( "Attempt to copy TG4ElementTable singleton."); } +//_____________________________________________________________________________ TG4ElementTable::~TG4ElementTable(){ // } // operators +//_____________________________________________________________________________ TG4ElementTable& TG4ElementTable::operator=(const TG4ElementTable& right) { // check assignement to self @@ -44,6 +46,7 @@ TG4ElementTable& TG4ElementTable::operator=(const TG4ElementTable& right) // static methods +//_____________________________________________________________________________ TG4ElementTable* TG4ElementTable::Instance() { // singleton access method @@ -58,6 +61,7 @@ TG4ElementTable* TG4ElementTable::Instance() // private methods +//_____________________________________________________________________________ void TG4ElementTable::Construct() { // construct element table diff --git a/TGeant4/TG4G3ControlVector.cxx b/TGeant4/TG4G3ControlVector.cxx index eccce75a572..7ed2c410897 100644 --- a/TGeant4/TG4G3ControlVector.cxx +++ b/TGeant4/TG4G3ControlVector.cxx @@ -11,6 +11,7 @@ #include +//_____________________________________________________________________________ TG4G3ControlVector::TG4G3ControlVector() { // initialize fControlVector @@ -18,6 +19,7 @@ TG4G3ControlVector::TG4G3ControlVector() for (G4int i=0; iinsert(kUnset); } +//_____________________________________________________________________________ TG4G3ControlVector::TG4G3ControlVector(const TG4G3ControlVector& right) { // allocation @@ -27,6 +29,7 @@ TG4G3ControlVector::TG4G3ControlVector(const TG4G3ControlVector& right) *this = right; } +//_____________________________________________________________________________ TG4G3ControlVector::~TG4G3ControlVector() { // delete fControlVector; @@ -34,6 +37,7 @@ TG4G3ControlVector::~TG4G3ControlVector() { // operators +//_____________________________________________________________________________ TG4G3ControlVector& TG4G3ControlVector::operator=( const TG4G3ControlVector& right) { @@ -49,6 +53,7 @@ TG4G3ControlVector& TG4G3ControlVector::operator=( return *this; } +//_____________________________________________________________________________ G4double TG4G3ControlVector::operator[](G4int index) const { // @@ -63,6 +68,7 @@ G4double TG4G3ControlVector::operator[](G4int index) const // public methods +//_____________________________________________________________________________ void TG4G3ControlVector::SetG3Control(TG4G3Control control, G4double controlValue) { @@ -91,6 +97,7 @@ void TG4G3ControlVector::SetG3Control(TG4G3Control control, } } +//_____________________________________________________________________________ void TG4G3ControlVector::SetG3Defaults() { // Sets G3 default values for all controls. @@ -101,6 +108,7 @@ void TG4G3ControlVector::SetG3Defaults() } } +//_____________________________________________________________________________ G4int TG4G3ControlVector::GetControl(G4VProcess* process) const { // Returns the control value for the particle associated with diff --git a/TGeant4/TG4G3CutVector.cxx b/TGeant4/TG4G3CutVector.cxx index 7073a18344f..e03ff453f53 100644 --- a/TGeant4/TG4G3CutVector.cxx +++ b/TGeant4/TG4G3CutVector.cxx @@ -10,6 +10,7 @@ #include #include +//_____________________________________________________________________________ TG4G3CutVector::TG4G3CutVector() { // initialize fCutVector @@ -17,6 +18,7 @@ TG4G3CutVector::TG4G3CutVector() for (G4int i=0; iinsert(0.); } +//_____________________________________________________________________________ TG4G3CutVector::TG4G3CutVector(const TG4G3CutVector& right) { // allocation @@ -26,6 +28,7 @@ TG4G3CutVector::TG4G3CutVector(const TG4G3CutVector& right) *this = right; } +//_____________________________________________________________________________ TG4G3CutVector::~TG4G3CutVector() { // delete fCutVector; @@ -33,6 +36,7 @@ TG4G3CutVector::~TG4G3CutVector() { // operators +//_____________________________________________________________________________ TG4G3CutVector& TG4G3CutVector::operator=(const TG4G3CutVector& right) { // check assignement to self @@ -47,6 +51,7 @@ TG4G3CutVector& TG4G3CutVector::operator=(const TG4G3CutVector& right) return *this; } +//_____________________________________________________________________________ G4double TG4G3CutVector::operator[](G4int index) const { // @@ -61,6 +66,7 @@ G4double TG4G3CutVector::operator[](G4int index) const // public methods +//_____________________________________________________________________________ void TG4G3CutVector::SetG3Cut(TG4G3Cut cut, G4double cutValue) { // Sets the cutValue for the specified cut. @@ -75,6 +81,7 @@ void TG4G3CutVector::SetG3Cut(TG4G3Cut cut, G4double cutValue) } } +//_____________________________________________________________________________ void TG4G3CutVector::SetG3Defaults() { // Sets G3 default values for all cuts. @@ -85,6 +92,7 @@ void TG4G3CutVector::SetG3Defaults() } } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkine(const G4Track& track) const { // Returns the cut value for the particle associated with @@ -120,6 +128,7 @@ G4double TG4G3CutVector::GetMinEkine(const G4Track& track) const } } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForGamma(const G4Track& track) const { // Returns the cut value for gamma. @@ -146,6 +155,7 @@ G4double TG4G3CutVector::GetMinEkineForGamma(const G4Track& track) const } } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForElectron(const G4Track& track) const { // Returns the cut value for e-. @@ -171,6 +181,7 @@ G4double TG4G3CutVector::GetMinEkineForElectron(const G4Track& track) const } } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForHadron(const G4Track& track) const { // Returns the cut value for charged hadron. @@ -179,6 +190,7 @@ G4double TG4G3CutVector::GetMinEkineForHadron(const G4Track& track) const return (*fCutVector)[kCUTHAD]; } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForNeutralHadron(const G4Track& track) const { // Returns the cut value for neutral hadron. @@ -187,6 +199,7 @@ G4double TG4G3CutVector::GetMinEkineForNeutralHadron(const G4Track& track) const return (*fCutVector)[kCUTNEU]; } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForMuon(const G4Track& track) const { // Returns the cut value for neutral muon. @@ -195,6 +208,7 @@ G4double TG4G3CutVector::GetMinEkineForMuon(const G4Track& track) const return (*fCutVector)[kCUTMUO]; } +//_____________________________________________________________________________ G4double TG4G3CutVector::GetMinEkineForOther(const G4Track& track) const { // Returns 0. diff --git a/TGeant4/TG4G3PhysicsManager.cxx b/TGeant4/TG4G3PhysicsManager.cxx index d06172d9286..610dadb5335 100644 --- a/TGeant4/TG4G3PhysicsManager.cxx +++ b/TGeant4/TG4G3PhysicsManager.cxx @@ -15,6 +15,7 @@ TG4G3PhysicsManager* TG4G3PhysicsManager::fgInstance = 0; +//_____________________________________________________________________________ TG4G3PhysicsManager::TG4G3PhysicsManager() : fLock(false), fCutVector(0), @@ -44,12 +45,14 @@ TG4G3PhysicsManager::TG4G3PhysicsManager() FillG3ControlNameVector(); } +//_____________________________________________________________________________ TG4G3PhysicsManager::TG4G3PhysicsManager(const TG4G3PhysicsManager& right) { // TG4Globals::Exception( "Attempt to copy TG4G3PhysicsManager singleton."); } +//_____________________________________________________________________________ TG4G3PhysicsManager::~TG4G3PhysicsManager() { // delete fIsCutVector; @@ -58,6 +61,7 @@ TG4G3PhysicsManager::~TG4G3PhysicsManager() { // operators +//_____________________________________________________________________________ TG4G3PhysicsManager& TG4G3PhysicsManager::operator=(const TG4G3PhysicsManager& right) { @@ -72,6 +76,7 @@ TG4G3PhysicsManager::operator=(const TG4G3PhysicsManager& right) // private methods +//_____________________________________________________________________________ void TG4G3PhysicsManager::FillG3CutNameVector() { // Defines fCutNameVector. @@ -89,6 +94,7 @@ void TG4G3PhysicsManager::FillG3CutNameVector() fG3CutNameVector.insert("PPCUTM"); } +//_____________________________________________________________________________ void TG4G3PhysicsManager::FillG3ControlNameVector() { // Defines fControlNameVector. @@ -108,6 +114,7 @@ void TG4G3PhysicsManager::FillG3ControlNameVector() fG3ControlNameVector.insert("MULS"); } +//_____________________________________________________________________________ void TG4G3PhysicsManager::SetCut(TG4G3Cut cut, G4double cutValue) { // Sets kinetic energy cut (in a G3-like way). @@ -121,6 +128,7 @@ void TG4G3PhysicsManager::SetCut(TG4G3Cut cut, G4double cutValue) SwitchIsCutVector(cut); } +//_____________________________________________________________________________ void TG4G3PhysicsManager::SetProcess(TG4G3Control control, G4int controlValue) { // Sets control process control (in a G3-like way). @@ -133,7 +141,7 @@ void TG4G3PhysicsManager::SetProcess(TG4G3Control control, G4int controlValue) fControlVector->SetG3Control(control, controlValue); } - +//_____________________________________________________________________________ void TG4G3PhysicsManager::SwitchIsCutVector(TG4G3Cut cut) { // Updates the vector of booleans (fIsCutVector) for the specified cut. @@ -172,6 +180,7 @@ void TG4G3PhysicsManager::SwitchIsCutVector(TG4G3Cut cut) } } +//_____________________________________________________________________________ void TG4G3PhysicsManager::SwitchIsControlVector(TG4G3Control control) { // Updates the vector of booleans (fIsControlVector) for the specified control. @@ -243,6 +252,7 @@ void TG4G3PhysicsManager::SwitchIsControlVector(TG4G3Control control) } } +//_____________________________________________________________________________ TG4G3Cut TG4G3PhysicsManager::GetG3Cut(G4String cutName) { // Retrieves corresponding TG4G3Cut constant from the cutName. @@ -260,6 +270,7 @@ TG4G3Cut TG4G3PhysicsManager::GetG3Cut(G4String cutName) else return kNoG3Cuts; } +//_____________________________________________________________________________ TG4G3Control TG4G3PhysicsManager::GetG3Control(G4String controlName) { // Retrieves corresponding TG4G3Control constant from the controlName. @@ -282,7 +293,7 @@ TG4G3Control TG4G3PhysicsManager::GetG3Control(G4String controlName) // public methods - +//_____________________________________________________________________________ void TG4G3PhysicsManager::CheckLock() { // Gives exception in case the physics manager is locked. @@ -297,7 +308,7 @@ void TG4G3PhysicsManager::CheckLock() } } - +//_____________________________________________________________________________ G4VProcess* TG4G3PhysicsManager::FindProcess(G4String processName) const { // Finds G4VProcess with specified name. @@ -316,7 +327,7 @@ G4VProcess* TG4G3PhysicsManager::FindProcess(G4String processName) const return firstFoundProcess; } - +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::CheckCutWithTheVector(G4String name, G4double value, TG4G3Cut& cut) { @@ -344,6 +355,7 @@ G4bool TG4G3PhysicsManager::CheckCutWithTheVector(G4String name, return false; } +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::CheckControlWithTheVector(G4String name, G4double value, TG4G3Control& control) { @@ -369,6 +381,7 @@ G4bool TG4G3PhysicsManager::CheckControlWithTheVector(G4String name, return false; } +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::CheckCutWithG3Defaults(G4String name, G4double value, TG4G3Cut& cut) { @@ -394,6 +407,7 @@ G4bool TG4G3PhysicsManager::CheckCutWithG3Defaults(G4String name, return false; } +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::CheckControlWithG3Defaults(G4String name, G4double value, TG4G3Control& control) { @@ -419,6 +433,7 @@ G4bool TG4G3PhysicsManager::CheckControlWithG3Defaults(G4String name, return false; } +//_____________________________________________________________________________ void TG4G3PhysicsManager::SetG3DefaultCuts() { // Sets G3 default values of kinetic energy cuts. @@ -432,6 +447,7 @@ void TG4G3PhysicsManager::SetG3DefaultCuts() fCutVector->SetG3Defaults(); } +//_____________________________________________________________________________ void TG4G3PhysicsManager::SetG3DefaultControls() { // Sets G3 default values of control process controls. @@ -445,6 +461,7 @@ void TG4G3PhysicsManager::SetG3DefaultControls() fControlVector->SetG3Defaults(); } +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::IsSpecialCuts() const { // Returns true if any special cut value is set. @@ -456,6 +473,7 @@ G4bool TG4G3PhysicsManager::IsSpecialCuts() const return false; } +//_____________________________________________________________________________ G4bool TG4G3PhysicsManager::IsSpecialControls() const { // Returns true if any special control value is set. @@ -467,6 +485,7 @@ G4bool TG4G3PhysicsManager::IsSpecialControls() const return false; } +//_____________________________________________________________________________ TG4G3ParticleWSP TG4G3PhysicsManager::GetG3ParticleWSP( G4ParticleDefinition* particle) const { @@ -501,6 +520,7 @@ TG4G3ParticleWSP TG4G3PhysicsManager::GetG3ParticleWSP( } } +//_____________________________________________________________________________ void TG4G3PhysicsManager::GetG3ParticleWSPName(G4int particleWSP, G4String& name) const { diff --git a/TGeant4/TG4G3Units.cxx b/TGeant4/TG4G3Units.cxx index 042e9525a40..e5642db73e3 100644 --- a/TGeant4/TG4G3Units.cxx +++ b/TGeant4/TG4G3Units.cxx @@ -17,10 +17,12 @@ const G4double TG4G3Units::fgkMassDensity = g/cm3; const G4double TG4G3Units::fgkAtomicWeight = g/mole; const G4double TG4G3Units::fgkField = tesla; +//_____________________________________________________________________________ TG4G3Units::TG4G3Units() { // } +//_____________________________________________________________________________ TG4G3Units::~TG4G3Units() { // } diff --git a/TGeant4/TG4GeometryOutputManager.cxx b/TGeant4/TG4GeometryOutputManager.cxx index 21194e582d3..ecd450308f1 100644 --- a/TGeant4/TG4GeometryOutputManager.cxx +++ b/TGeant4/TG4GeometryOutputManager.cxx @@ -7,16 +7,19 @@ #include #include +//_____________________________________________________________________________ TG4GeometryOutputManager::TG4GeometryOutputManager() { // } +//_____________________________________________________________________________ TG4GeometryOutputManager::~TG4GeometryOutputManager() { // } // public methods +//_____________________________________________________________________________ void TG4GeometryOutputManager::OpenFile(G4String filePath) { // Opens output files. @@ -38,6 +41,7 @@ void TG4GeometryOutputManager::OpenFile(G4String filePath) } +//_____________________________________________________________________________ void TG4GeometryOutputManager::CloseFile() { // Closes output files. @@ -47,6 +51,7 @@ void TG4GeometryOutputManager::CloseFile() } +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsvolu( G4String vname, G4String shape, G4int nmed, G4double* Rpar, G4int npar) @@ -72,7 +77,7 @@ void TG4GeometryOutputManager::WriteGsvolu( fOutFile << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGspos( G4String vname, G4int num, G4String vmoth, G4double x, G4double y, G4double z, G4int irot, G4String vonly) @@ -99,7 +104,7 @@ void TG4GeometryOutputManager::WriteGspos( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsposp( G4String vname, G4int num, G4String vmoth, G4double x, G4double y, G4double z, G4int irot, G4String vonly, @@ -134,7 +139,7 @@ void TG4GeometryOutputManager::WriteGsposp( fOutFile << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsrotm( G4int irot, G4double theta1, G4double phi1, G4double theta2, G4double phi2, G4double theta3, G4double phi3) @@ -161,7 +166,7 @@ void TG4GeometryOutputManager::WriteGsrotm( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsdvn( G4String vname, G4String vmoth, G4int ndiv, G4int iaxis) { @@ -183,7 +188,7 @@ void TG4GeometryOutputManager::WriteGsdvn( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsdvn2( G4String vname, G4String vmoth, G4int ndiv, G4int iaxis, G4double c0, G4int numed) @@ -208,7 +213,7 @@ void TG4GeometryOutputManager::WriteGsdvn2( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsdvt( G4String vname, G4String vmoth, G4double step, G4int iaxis, G4int numed, G4int ndvmx) @@ -233,7 +238,7 @@ void TG4GeometryOutputManager::WriteGsdvt( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsdvt2( G4String vname, G4String vmoth, G4double step, G4int iaxis, G4double c0, G4int numed, G4int ndvmx) @@ -259,7 +264,7 @@ void TG4GeometryOutputManager::WriteGsdvt2( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsdvx( G4String name, G4String moth, G4int ndiv, G4int iaxis, G4double step, G4double c0, G4int numed, G4int ndvmx) @@ -287,7 +292,7 @@ void TG4GeometryOutputManager::WriteGsdvx( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsmate( G4int imate, G4String name, G4double ain, G4double zin, G4double densin, G4double radl, G4int nwbf, G4double* ubuf) @@ -318,7 +323,7 @@ void TG4GeometryOutputManager::WriteGsmate( fOutFile << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGsmixt( G4int imate, G4String name, G4double* a, G4double* z, G4double dens, G4int nlmat, G4double* wmat) @@ -356,7 +361,7 @@ void TG4GeometryOutputManager::WriteGsmixt( fOutFile << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGstmed( G4int itmed, G4String name, G4int nmat, G4int isvol, G4int ifield, G4double fieldm, G4double tmaxfd, @@ -395,7 +400,7 @@ void TG4GeometryOutputManager::WriteGstmed( fOutFile << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGstpar( G4int itmed, G4String param, G4double parval) { @@ -416,7 +421,7 @@ void TG4GeometryOutputManager::WriteGstpar( << G4endl; } - +//_____________________________________________________________________________ void TG4GeometryOutputManager::WriteGgclos() { // Writes GGCLOS token diff --git a/TGeant4/TG4Globals.cxx b/TGeant4/TG4Globals.cxx index 1a9980746b7..08d09a8d17a 100644 --- a/TGeant4/TG4Globals.cxx +++ b/TGeant4/TG4Globals.cxx @@ -7,16 +7,19 @@ #include +//_____________________________________________________________________________ TG4Globals::TG4Globals() { // } +//_____________________________________________________________________________ TG4Globals::~TG4Globals() { // } // static methods +//_____________________________________________________________________________ void TG4Globals::Exception(const char* string) { // Prints error message end exits the program. @@ -28,6 +31,7 @@ void TG4Globals::Exception(const char* string) exit(1); } +//_____________________________________________________________________________ void TG4Globals::Warning(const char* string) { // Prints warning message. @@ -39,6 +43,7 @@ void TG4Globals::Warning(const char* string) G4cerr << "+++++++++++++++++++++++" << G4endl; } +//_____________________________________________________________________________ void TG4Globals::AppendNumberToString(G4String& s, G4int a) { // Appends number to string. diff --git a/TGeant4/TG4IntMap.cxx b/TGeant4/TG4IntMap.cxx index 0dcd5b3c9b0..85b18ab6712 100644 --- a/TGeant4/TG4IntMap.cxx +++ b/TGeant4/TG4IntMap.cxx @@ -12,21 +12,25 @@ typedef G4std::map > :: iterator IntMapIterator; +//_____________________________________________________________________________ TG4IntMap::TG4IntMap(){ // } +//_____________________________________________________________________________ TG4IntMap::TG4IntMap(const TG4IntMap& right) { // TG4Globals::Exception("TG4IntMap is protected from copying."); } +//_____________________________________________________________________________ TG4IntMap::~TG4IntMap() { // } // operators +//_____________________________________________________________________________ TG4IntMap& TG4IntMap::operator=(const TG4IntMap& right) { // check assignement to self @@ -39,6 +43,7 @@ TG4IntMap& TG4IntMap::operator=(const TG4IntMap& right) // private methods +//_____________________________________________________________________________ G4bool TG4IntMap::IsDefined(const G4String& first) { // Returns true if the first is already in the map. @@ -53,6 +58,7 @@ G4bool TG4IntMap::IsDefined(const G4String& first) // public methods +//_____________________________________________________________________________ G4bool TG4IntMap::Add(const G4String& first, G4int second) { // Adds pair (name, int number) to the map. @@ -67,6 +73,7 @@ G4bool TG4IntMap::Add(const G4String& first, G4int second) return false; } +//_____________________________________________________________________________ G4int TG4IntMap::GetSecond(const G4String& name) { // Gets second name associated with given name. @@ -84,6 +91,7 @@ G4int TG4IntMap::GetSecond(const G4String& name) } } +//_____________________________________________________________________________ void TG4IntMap::PrintAll() { // Dumps all map. @@ -101,7 +109,7 @@ void TG4IntMap::PrintAll() } } - +//_____________________________________________________________________________ void TG4IntMap::Clear() { // Clears the map. diff --git a/TGeant4/TG4Limits.cxx b/TGeant4/TG4Limits.cxx index fdb51920d58..ad973473f22 100644 --- a/TGeant4/TG4Limits.cxx +++ b/TGeant4/TG4Limits.cxx @@ -11,6 +11,7 @@ const G4double TG4Limits::fgkDefaultMaxStep = 10*cm; +//_____________________________________________________________________________ TG4Limits::TG4Limits() : G4UserLimits(), // default values of G4UserLimits data members are set: @@ -25,6 +26,7 @@ TG4Limits::TG4Limits() fControlVector = new TG4G3ControlVector(); } +//_____________________________________________________________________________ TG4Limits::TG4Limits(const TG4Limits& right) : G4UserLimits(right) { @@ -37,6 +39,7 @@ TG4Limits::TG4Limits(const TG4Limits& right) *this = right; } +//_____________________________________________________________________________ TG4Limits::~TG4Limits() { // delete fCutVector; @@ -45,6 +48,7 @@ TG4Limits::~TG4Limits() { // operators +//_____________________________________________________________________________ TG4Limits& TG4Limits::operator=(const TG4Limits& right) { // check assignement to self @@ -61,6 +65,7 @@ TG4Limits& TG4Limits::operator=(const TG4Limits& right) // private methods +//_____________________________________________________________________________ G4double TG4Limits::GetUserMinEkine(const G4Track& track) { // Returns the kinetic energy cut for the particle @@ -75,6 +80,7 @@ G4double TG4Limits::GetUserMinEkine(const G4Track& track) // public methods +//_____________________________________________________________________________ void TG4Limits::SetG3Cut(TG4G3Cut cut, G4double cutValue) { // Sets the cut value for the specified cut. @@ -84,6 +90,7 @@ void TG4Limits::SetG3Cut(TG4G3Cut cut, G4double cutValue) fIsCut = true; } +//_____________________________________________________________________________ void TG4Limits::SetG3Control(TG4G3Control control, G4double flagValue) { // Sets the process control value for the specified flag. @@ -93,6 +100,7 @@ void TG4Limits::SetG3Control(TG4G3Control control, G4double flagValue) if (flagValue - kUnset > 0.01) fIsControl = true; } +//_____________________________________________________________________________ void TG4Limits::SetG3DefaultCuts() { // Sets the G3 default cut values for all cuts. @@ -102,6 +110,7 @@ void TG4Limits::SetG3DefaultCuts() fIsCut = true; } +//_____________________________________________________________________________ void TG4Limits::SetG3DefaultControls() { // Sets the G3 default process control values for all flags. @@ -111,6 +120,7 @@ void TG4Limits::SetG3DefaultControls() fIsControl = true; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForGamma(const G4Track& track) const { // Returns the cut value for gamma. @@ -122,6 +132,7 @@ G4double TG4Limits::GetMinEkineForGamma(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForElectron(const G4Track& track) const { // Returns the cut value for e-. @@ -133,6 +144,7 @@ G4double TG4Limits::GetMinEkineForElectron(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForHadron(const G4Track& track) const { // Returns the cut value for charged hadron. @@ -144,6 +156,7 @@ G4double TG4Limits::GetMinEkineForHadron(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForNeutralHadron(const G4Track& track) const { // Returns the cut value for neutral hadron. @@ -155,6 +168,7 @@ G4double TG4Limits::GetMinEkineForNeutralHadron(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForMuon(const G4Track& track) const { // Returns the cut value for neutral muon. @@ -166,6 +180,7 @@ G4double TG4Limits::GetMinEkineForMuon(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4double TG4Limits::GetMinEkineForOther(const G4Track& track) const { // Returns 0. @@ -174,6 +189,7 @@ G4double TG4Limits::GetMinEkineForOther(const G4Track& track) const return fMinEkine; } +//_____________________________________________________________________________ G4int TG4Limits::GetControl(G4VProcess* process) const { // Returns the flag value for the particle associated with diff --git a/TGeant4/TG4Messenger.cxx b/TGeant4/TG4Messenger.cxx index 2e7d3e3cec5..818dfc0e0f9 100644 --- a/TGeant4/TG4Messenger.cxx +++ b/TGeant4/TG4Messenger.cxx @@ -11,6 +11,7 @@ #include #include +//_____________________________________________________________________________ TG4Messenger::TG4Messenger(TG4GeometryManager* geometryManager, TG4PhysicsManager* physicsManager, TG4StepManager* stepManager) @@ -59,15 +60,18 @@ TG4Messenger::TG4Messenger(TG4GeometryManager* geometryManager, fProcessActivationCmd->AvailableForStates(Idle); } +//_____________________________________________________________________________ TG4Messenger::TG4Messenger(){ // } +//_____________________________________________________________________________ TG4Messenger::TG4Messenger(const TG4Messenger& right) { // TG4Globals::Exception("TG4Messenger is protected from copying."); } +//_____________________________________________________________________________ TG4Messenger::~TG4Messenger() { // delete fSetEMCmd; @@ -80,6 +84,7 @@ TG4Messenger::~TG4Messenger() { // operators +//_____________________________________________________________________________ TG4Messenger& TG4Messenger::operator=(const TG4Messenger& right) { // check assignement to self @@ -92,6 +97,7 @@ TG4Messenger& TG4Messenger::operator=(const TG4Messenger& right) // public methods +//_____________________________________________________________________________ void TG4Messenger::SetNewValue(G4UIcommand* command, G4String newValue) { // Applies command to the associated object. diff --git a/TGeant4/TG4ModularPhysicsList.cxx b/TGeant4/TG4ModularPhysicsList.cxx index cb2dd88f9b3..65f28377298 100644 --- a/TGeant4/TG4ModularPhysicsList.cxx +++ b/TGeant4/TG4ModularPhysicsList.cxx @@ -22,6 +22,7 @@ #include +//_____________________________________________________________________________ TG4ModularPhysicsList::TG4ModularPhysicsList() : G4VModularPhysicsList(), fExtDecayer(0) @@ -32,12 +33,14 @@ TG4ModularPhysicsList::TG4ModularPhysicsList() SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4ModularPhysicsList::TG4ModularPhysicsList(const TG4ModularPhysicsList& right) { // TG4Globals::Exception("TG4ModularPhysicsList is protected from copying."); } +//_____________________________________________________________________________ TG4ModularPhysicsList::~TG4ModularPhysicsList() { // //delete fExtDecayer; @@ -46,6 +49,7 @@ TG4ModularPhysicsList::~TG4ModularPhysicsList() { // operators +//_____________________________________________________________________________ TG4ModularPhysicsList& TG4ModularPhysicsList::operator=(const TG4ModularPhysicsList &right) { @@ -59,6 +63,7 @@ TG4ModularPhysicsList::operator=(const TG4ModularPhysicsList &right) // protected methods +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructParticle() { // In this method, static member functions should be called @@ -83,6 +88,7 @@ void TG4ModularPhysicsList::ConstructParticle() G4VModularPhysicsList::ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructProcess() { // Constructs all processes. @@ -97,7 +103,7 @@ void TG4ModularPhysicsList::ConstructProcess() if (verboseLevel>1) PrintAllProcesses(); } - +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllBosons() { // Construct all bosons @@ -107,6 +113,7 @@ void TG4ModularPhysicsList::ConstructAllBosons() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllLeptons() { // Construct all leptons @@ -116,6 +123,7 @@ void TG4ModularPhysicsList::ConstructAllLeptons() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllMesons() { // Construct all mesons @@ -125,6 +133,7 @@ void TG4ModularPhysicsList::ConstructAllMesons() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllBaryons() { // Construct all barions @@ -134,6 +143,7 @@ void TG4ModularPhysicsList::ConstructAllBaryons() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllIons() { // Construct light ions @@ -143,6 +153,7 @@ void TG4ModularPhysicsList::ConstructAllIons() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructAllShortLiveds() { // Construct resonaces and quarks @@ -152,6 +163,7 @@ void TG4ModularPhysicsList::ConstructAllShortLiveds() pConstructor.ConstructParticle(); } +//_____________________________________________________________________________ void TG4ModularPhysicsList::ConstructGeneral() { // Constructs general processes. @@ -186,6 +198,7 @@ void TG4ModularPhysicsList::ConstructGeneral() // public methods +//_____________________________________________________________________________ void TG4ModularPhysicsList::SetCuts() { // Sets the default cut value for all particle types @@ -228,6 +241,7 @@ void TG4ModularPhysicsList::SetCuts() } } +//_____________________________________________________________________________ void TG4ModularPhysicsList::SetProcessActivation() { // (In)Activates built processes according @@ -279,6 +293,7 @@ void TG4ModularPhysicsList::SetProcessActivation() } } +//_____________________________________________________________________________ void TG4ModularPhysicsList::PrintAllProcesses() const { // Prints all processes. diff --git a/TGeant4/TG4NameMap.cxx b/TGeant4/TG4NameMap.cxx index e22b1b01304..5877eb41eb2 100644 --- a/TGeant4/TG4NameMap.cxx +++ b/TGeant4/TG4NameMap.cxx @@ -14,22 +14,26 @@ G4String TG4NameMap::fgUndefined = "Undefined"; typedef G4std::map > :: iterator MapIterator; +//_____________________________________________________________________________ TG4NameMap::TG4NameMap() : fSecond(fgUndefined) { // } +//_____________________________________________________________________________ TG4NameMap::TG4NameMap(const TG4NameMap& right) { // TG4Globals::Exception("TG4NameMap is protected from copying."); } +//_____________________________________________________________________________ TG4NameMap::~TG4NameMap() { // } // operators +//_____________________________________________________________________________ TG4NameMap& TG4NameMap::operator=(const TG4NameMap& right) { // check assignement to self @@ -42,6 +46,7 @@ TG4NameMap& TG4NameMap::operator=(const TG4NameMap& right) // public methods +//_____________________________________________________________________________ G4bool TG4NameMap::Add(const G4String& first, const G4String& second) { // Adds names pair to the map. @@ -57,7 +62,7 @@ G4bool TG4NameMap::Add(const G4String& first, const G4String& second) return false; } - +//_____________________________________________________________________________ G4bool TG4NameMap::AddName(const G4String& name) { // Adds name to the map. @@ -72,7 +77,7 @@ G4bool TG4NameMap::AddName(const G4String& name) return false; } - +//_____________________________________________________________________________ const G4String& TG4NameMap::GetSecond(const G4String& name) { // Gets second name associated with given name. @@ -85,7 +90,7 @@ const G4String& TG4NameMap::GetSecond(const G4String& name) return (*i).second; } - +//_____________________________________________________________________________ void TG4NameMap::PrintAll() { // Dumps all map. @@ -103,7 +108,7 @@ void TG4NameMap::PrintAll() } } - +//_____________________________________________________________________________ void TG4NameMap::Clear() { // Clears the map. diff --git a/TGeant4/TG4ParticlesManager.cxx b/TGeant4/TG4ParticlesManager.cxx index e9da06b114c..df714bc62aa 100644 --- a/TGeant4/TG4ParticlesManager.cxx +++ b/TGeant4/TG4ParticlesManager.cxx @@ -16,6 +16,7 @@ TG4ParticlesManager* TG4ParticlesManager::fgInstance = 0; +//_____________________________________________________________________________ TG4ParticlesManager::TG4ParticlesManager() { // @@ -27,12 +28,14 @@ TG4ParticlesManager::TG4ParticlesManager() fgInstance = this; } +//_____________________________________________________________________________ TG4ParticlesManager::TG4ParticlesManager(const TG4ParticlesManager& right) { // TG4Globals::Exception( "Attempt to copy TG4ParticlesManager singleton."); } +//_____________________________________________________________________________ TG4ParticlesManager::~TG4ParticlesManager() { // } @@ -53,6 +56,8 @@ TG4ParticlesManager::operator=(const TG4ParticlesManager& right) // private methods + +//_____________________________________________________________________________ G4int TG4ParticlesManager::GetPDGEncoding(G4ParticleDefinition* particle) { // Returns the PDG code of particle; @@ -93,6 +98,8 @@ G4int TG4ParticlesManager::GetPDGEncoding(G4ParticleDefinition* particle) return pdgEncoding; } + +//_____________________________________________________________________________ G4int TG4ParticlesManager::GetPDGEncoding(G4String particleName) { // Returns the PDG code of particle sepcified by name. @@ -112,6 +119,8 @@ G4int TG4ParticlesManager::GetPDGEncoding(G4String particleName) return GetPDGEncoding(particle); } + +//_____________________________________________________________________________ void TG4ParticlesManager::MapParticles() { // map G4 particle names to TDatabasePDG names @@ -162,7 +171,8 @@ G4int TG4ParticlesManager::GetPDGEncodingFast(G4ParticleDefinition* particle) return pdgEncoding; } - + +//_____________________________________________________________________________ TParticle* TG4ParticlesManager::GetParticle(const TClonesArray* particles, G4int index) const { @@ -183,6 +193,7 @@ TParticle* TG4ParticlesManager::GetParticle(const TClonesArray* particles, } +//_____________________________________________________________________________ G4ParticleDefinition* TG4ParticlesManager::GetParticleDefinition( const TParticle* particle) const { @@ -214,6 +225,8 @@ G4ParticleDefinition* TG4ParticlesManager::GetParticleDefinition( return particleDefinition; } + +//_____________________________________________________________________________ G4DynamicParticle* TG4ParticlesManager::CreateDynamicParticle( const TParticle* particle) const { @@ -234,6 +247,8 @@ G4DynamicParticle* TG4ParticlesManager::CreateDynamicParticle( return dynamicParticle; } + +//_____________________________________________________________________________ G4ThreeVector TG4ParticlesManager::GetParticlePosition( const TParticle* particle) const { @@ -248,6 +263,7 @@ G4ThreeVector TG4ParticlesManager::GetParticlePosition( } +//_____________________________________________________________________________ G4ThreeVector TG4ParticlesManager::GetParticleMomentum( const TParticle* particle) const { diff --git a/TGeant4/TG4PhysicsConstructorEM.cxx b/TGeant4/TG4PhysicsConstructorEM.cxx index fea4a67ea5b..7793c85d8d7 100644 --- a/TGeant4/TG4PhysicsConstructorEM.cxx +++ b/TGeant4/TG4PhysicsConstructorEM.cxx @@ -21,6 +21,7 @@ #include #include +//_____________________________________________________________________________ TG4PhysicsConstructorEM::TG4PhysicsConstructorEM(const G4String& name) : G4VPhysicsConstructor(name) { @@ -28,12 +29,14 @@ TG4PhysicsConstructorEM::TG4PhysicsConstructorEM(const G4String& name) SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4PhysicsConstructorEM::~TG4PhysicsConstructorEM() { // } // protected methods +//_____________________________________________________________________________ void TG4PhysicsConstructorEM::ConstructParticle() { // The particles are constructed in the @@ -41,6 +44,7 @@ void TG4PhysicsConstructorEM::ConstructParticle() // --- } +//_____________________________________________________________________________ void TG4PhysicsConstructorEM::ConstructProcess() { // Constructs electromagnetic processes. diff --git a/TGeant4/TG4PhysicsConstructorHadron.cxx b/TGeant4/TG4PhysicsConstructorHadron.cxx index 96aa3bc6390..7f6485386a3 100644 --- a/TGeant4/TG4PhysicsConstructorHadron.cxx +++ b/TGeant4/TG4PhysicsConstructorHadron.cxx @@ -102,6 +102,7 @@ #include #endif +//_____________________________________________________________________________ TG4PhysicsConstructorHadron::TG4PhysicsConstructorHadron(const G4String& name) : G4VPhysicsConstructor(name) { @@ -109,12 +110,14 @@ TG4PhysicsConstructorHadron::TG4PhysicsConstructorHadron(const G4String& name) SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4PhysicsConstructorHadron::~TG4PhysicsConstructorHadron() { // } // protected methods +//_____________________________________________________________________________ void TG4PhysicsConstructorHadron::ConstructParticle() { // The particles are constructed in the @@ -122,6 +125,7 @@ void TG4PhysicsConstructorHadron::ConstructParticle() // --- } +//_____________________________________________________________________________ void TG4PhysicsConstructorHadron::ConstructProcess() { // Makes discrete physics processes for the hadrons, at present limited diff --git a/TGeant4/TG4PhysicsConstructorOptical.cxx b/TGeant4/TG4PhysicsConstructorOptical.cxx index 517f8e53396..884ff604411 100644 --- a/TGeant4/TG4PhysicsConstructorOptical.cxx +++ b/TGeant4/TG4PhysicsConstructorOptical.cxx @@ -12,6 +12,7 @@ #include #include +//_____________________________________________________________________________ TG4PhysicsConstructorOptical::TG4PhysicsConstructorOptical(const G4String& name) : G4VPhysicsConstructor(name) { @@ -19,12 +20,14 @@ TG4PhysicsConstructorOptical::TG4PhysicsConstructorOptical(const G4String& name) SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4PhysicsConstructorOptical::~TG4PhysicsConstructorOptical() { // } // protected methods +//_____________________________________________________________________________ void TG4PhysicsConstructorOptical::ConstructParticle() { // The particles are constructed in the @@ -32,6 +35,7 @@ void TG4PhysicsConstructorOptical::ConstructParticle() // --- } +//_____________________________________________________________________________ void TG4PhysicsConstructorOptical::ConstructProcess() { // Constructs optical processes. diff --git a/TGeant4/TG4PhysicsConstructorSpecialControls.cxx b/TGeant4/TG4PhysicsConstructorSpecialControls.cxx index 851e81cc49e..7cb1aca2411 100644 --- a/TGeant4/TG4PhysicsConstructorSpecialControls.cxx +++ b/TGeant4/TG4PhysicsConstructorSpecialControls.cxx @@ -12,6 +12,7 @@ #include #include +//_____________________________________________________________________________ TG4PhysicsConstructorSpecialControls::TG4PhysicsConstructorSpecialControls( const G4String& name) : G4VPhysicsConstructor(name) @@ -20,12 +21,14 @@ TG4PhysicsConstructorSpecialControls::TG4PhysicsConstructorSpecialControls( SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4PhysicsConstructorSpecialControls::~TG4PhysicsConstructorSpecialControls() { // } // protected methods +//_____________________________________________________________________________ void TG4PhysicsConstructorSpecialControls::ConstructParticle() { // The particles are constructed in the @@ -33,6 +36,7 @@ void TG4PhysicsConstructorSpecialControls::ConstructParticle() // --- } +//_____________________________________________________________________________ void TG4PhysicsConstructorSpecialControls::ConstructProcess() { // Adds TG4SpecialControls "process" that activates diff --git a/TGeant4/TG4PhysicsConstructorSpecialCuts.cxx b/TGeant4/TG4PhysicsConstructorSpecialCuts.cxx index 67a136ade8b..a62f4dd17db 100644 --- a/TGeant4/TG4PhysicsConstructorSpecialCuts.cxx +++ b/TGeant4/TG4PhysicsConstructorSpecialCuts.cxx @@ -12,6 +12,7 @@ #include +//_____________________________________________________________________________ TG4PhysicsConstructorSpecialCuts::TG4PhysicsConstructorSpecialCuts( const G4String& name) : G4VPhysicsConstructor(name) @@ -20,12 +21,14 @@ TG4PhysicsConstructorSpecialCuts::TG4PhysicsConstructorSpecialCuts( SetVerboseLevel(1); } +//_____________________________________________________________________________ TG4PhysicsConstructorSpecialCuts::~TG4PhysicsConstructorSpecialCuts() { // } // protected methods +//_____________________________________________________________________________ void TG4PhysicsConstructorSpecialCuts::ConstructParticle() { // The particles are constructed in the @@ -33,6 +36,7 @@ void TG4PhysicsConstructorSpecialCuts::ConstructParticle() // --- } +//_____________________________________________________________________________ void TG4PhysicsConstructorSpecialCuts::ConstructProcess() { // Adds TG4SpecialCuts "process" that activates diff --git a/TGeant4/TG4Polycone.cxx b/TGeant4/TG4Polycone.cxx index c6151c4c874..d4c213ac343 100644 --- a/TGeant4/TG4Polycone.cxx +++ b/TGeant4/TG4Polycone.cxx @@ -7,16 +7,20 @@ #include "TG4Polycone.h" #include "TG4Globals.h" +//_____________________________________________________________________________ TG4Polycone::TG4Polycone(const G4Polycone& rhs) : G4Polycone(rhs) { // } +//_____________________________________________________________________________ TG4Polycone::~TG4Polycone() { // } // private methods + +//_____________________________________________________________________________ void TG4Polycone::CheckOrigin() { // Checks if polycone was created in a "historical way" @@ -33,6 +37,7 @@ void TG4Polycone::CheckOrigin() // public methods +//_____________________________________________________________________________ G4int TG4Polycone::GetNofZPlanes() { // Returns nof z planes. @@ -43,7 +48,7 @@ G4int TG4Polycone::GetNofZPlanes() return original_parameters->Num_z_planes; } - +//_____________________________________________________________________________ G4double* TG4Polycone::GetRmin() { // Returns array of rmin parameters of the planes. @@ -54,6 +59,7 @@ G4double* TG4Polycone::GetRmin() return original_parameters->Rmin; } +//_____________________________________________________________________________ G4double* TG4Polycone::GetRmax() { // Returns array of rmax parameters of the planes. @@ -64,6 +70,7 @@ G4double* TG4Polycone::GetRmax() return original_parameters->Rmax; } +//_____________________________________________________________________________ G4double* TG4Polycone::GetZ() { // Returns array of z parameters of the planes. diff --git a/TGeant4/TG4Polyhedra.cxx b/TGeant4/TG4Polyhedra.cxx index aa5a422b491..b5ee30d102f 100644 --- a/TGeant4/TG4Polyhedra.cxx +++ b/TGeant4/TG4Polyhedra.cxx @@ -7,16 +7,20 @@ #include "TG4Polyhedra.h" #include "TG4Globals.h" +//_____________________________________________________________________________ TG4Polyhedra::TG4Polyhedra(const G4Polyhedra& rhs) : G4Polyhedra(rhs) { // } +//_____________________________________________________________________________ TG4Polyhedra::~TG4Polyhedra() { // } // private methods + +//_____________________________________________________________________________ void TG4Polyhedra::CheckOrigin() { // Checks if polycone was created in a "historical way" @@ -33,6 +37,7 @@ void TG4Polyhedra::CheckOrigin() // public methods +//_____________________________________________________________________________ G4int TG4Polyhedra::GetNofZPlanes() { // Returns nof z planes. @@ -44,6 +49,7 @@ G4int TG4Polyhedra::GetNofZPlanes() } +//_____________________________________________________________________________ G4double* TG4Polyhedra::GetRmin() { // Returns array of rmin parameters of the planes. @@ -54,6 +60,7 @@ G4double* TG4Polyhedra::GetRmin() return original_parameters->Rmin; } +//_____________________________________________________________________________ G4double* TG4Polyhedra::GetRmax() { // Returns array of rmax parameters of the planes. @@ -64,6 +71,7 @@ G4double* TG4Polyhedra::GetRmax() return original_parameters->Rmax; } +//_____________________________________________________________________________ G4double* TG4Polyhedra::GetZ() { // Returns array of z parameters of the planes. diff --git a/TGeant4/TG4RunMessenger.cxx b/TGeant4/TG4RunMessenger.cxx index 5566cc0f736..97d44b68763 100644 --- a/TGeant4/TG4RunMessenger.cxx +++ b/TGeant4/TG4RunMessenger.cxx @@ -12,6 +12,7 @@ #include #include +//_____________________________________________________________________________ TG4RunMessenger::TG4RunMessenger(TG4RunManager* runManager) : fRunManager(runManager) { @@ -40,15 +41,18 @@ TG4RunMessenger::TG4RunMessenger(TG4RunManager* runManager) fG3DefaultsCmd->AvailableForStates(PreInit); } +//_____________________________________________________________________________ TG4RunMessenger::TG4RunMessenger(){ // } +//_____________________________________________________________________________ TG4RunMessenger::TG4RunMessenger(const TG4RunMessenger& right) { // TG4Globals::Exception("TG4RunMessenger is protected from copying."); } +//_____________________________________________________________________________ TG4RunMessenger::~TG4RunMessenger() { // delete fDirectory; @@ -60,6 +64,7 @@ TG4RunMessenger::~TG4RunMessenger() { // operators +//_____________________________________________________________________________ TG4RunMessenger& TG4RunMessenger::operator=(const TG4RunMessenger& right) { // check assignement to self @@ -72,6 +77,7 @@ TG4RunMessenger& TG4RunMessenger::operator=(const TG4RunMessenger& right) // public methods +//_____________________________________________________________________________ void TG4RunMessenger::SetNewValue(G4UIcommand* command, G4String newValue) { // Applies command to the associated object. diff --git a/TGeant4/TG4SpecialControls.cxx b/TGeant4/TG4SpecialControls.cxx index bfb299ff161..4966935c5e4 100644 --- a/TGeant4/TG4SpecialControls.cxx +++ b/TGeant4/TG4SpecialControls.cxx @@ -10,6 +10,7 @@ #include #include +//_____________________________________________________________________________ TG4SpecialControls::TG4SpecialControls(const G4String& aName) : G4VProcess(aName), fSwitchControls(kUnswitch) @@ -20,18 +21,21 @@ TG4SpecialControls::TG4SpecialControls(const G4String& aName) } } +//_____________________________________________________________________________ TG4SpecialControls::TG4SpecialControls(const TG4SpecialControls& right) { // TG4Globals::Exception( "TG4SpecialControls is protected from copying."); } +//_____________________________________________________________________________ TG4SpecialControls::~TG4SpecialControls() { // } // operators +//_____________________________________________________________________________ TG4SpecialControls& TG4SpecialControls::operator=( const TG4SpecialControls& right) { @@ -46,6 +50,7 @@ TG4SpecialControls& TG4SpecialControls::operator=( // public methods +//_____________________________________________________________________________ G4double TG4SpecialControls::PostStepGetPhysicalInteractionLength( const G4Track& track, G4double previousStepSize, G4ForceCondition* condition) @@ -95,6 +100,7 @@ G4double TG4SpecialControls::PostStepGetPhysicalInteractionLength( return proposedStep; } +//_____________________________________________________________________________ G4VParticleChange* TG4SpecialControls::PostStepDoIt( const G4Track& track, const G4Step& step) { diff --git a/TGeant4/TG4SpecialCuts.cxx b/TGeant4/TG4SpecialCuts.cxx index 19464547ab6..92a89ba526a 100644 --- a/TGeant4/TG4SpecialCuts.cxx +++ b/TGeant4/TG4SpecialCuts.cxx @@ -11,6 +11,7 @@ #include +//_____________________________________________________________________________ TG4SpecialCuts::TG4SpecialCuts(TG4G3ParticleWSP particle, TG4G3CutVector* cutVector, const G4String& processName) @@ -49,22 +50,26 @@ TG4SpecialCuts::TG4SpecialCuts(TG4G3ParticleWSP particle, } } +//_____________________________________________________________________________ TG4SpecialCuts::TG4SpecialCuts() { // } +//_____________________________________________________________________________ TG4SpecialCuts::TG4SpecialCuts(const TG4SpecialCuts& right) { // TG4Globals::Exception( "TG4SpecialCuts is protected from copying."); } +//_____________________________________________________________________________ TG4SpecialCuts::~TG4SpecialCuts() { // } // operators +//_____________________________________________________________________________ TG4SpecialCuts& TG4SpecialCuts::operator=(const TG4SpecialCuts& right) { // check assignement to self @@ -78,6 +83,7 @@ TG4SpecialCuts& TG4SpecialCuts::operator=(const TG4SpecialCuts& right) // public methods +//_____________________________________________________________________________ G4double TG4SpecialCuts::PostStepGetPhysicalInteractionLength( const G4Track& track, G4double previousStepSize, G4ForceCondition* condition) @@ -163,6 +169,7 @@ G4double TG4SpecialCuts::PostStepGetPhysicalInteractionLength( return proposedStep; } +//_____________________________________________________________________________ G4VParticleChange* TG4SpecialCuts::PostStepDoIt(const G4Track& track, const G4Step& step) { diff --git a/TGeant4/TG4SteppingAction.cxx b/TGeant4/TG4SteppingAction.cxx index 07dcaec1975..835cdfbc13f 100644 --- a/TGeant4/TG4SteppingAction.cxx +++ b/TGeant4/TG4SteppingAction.cxx @@ -10,6 +10,7 @@ #include #include +//_____________________________________________________________________________ TG4SteppingAction::TG4SteppingAction() : fMaxNofSteps(kMaxNofSteps), fStandardVerboseLevel(0), @@ -19,17 +20,20 @@ TG4SteppingAction::TG4SteppingAction() // } +//_____________________________________________________________________________ TG4SteppingAction::TG4SteppingAction(const TG4SteppingAction& right) { // TG4Globals::Exception("TG4SteppingAction is protected from copying."); } +//_____________________________________________________________________________ TG4SteppingAction::~TG4SteppingAction() { // } // operators +//_____________________________________________________________________________ TG4SteppingAction& TG4SteppingAction::operator=(const TG4SteppingAction &right) { @@ -43,6 +47,7 @@ TG4SteppingAction::operator=(const TG4SteppingAction &right) // protected methods +//_____________________________________________________________________________ void TG4SteppingAction::PrintTrackInfo(const G4Track* track) const { // Prints the track info @@ -96,6 +101,7 @@ void TG4SteppingAction::PrintTrackInfo(const G4Track* track) const // public methods +//_____________________________________________________________________________ void TG4SteppingAction::UserSteppingAction(const G4Step* step) { // Called by G4 kernel at the end of each step. diff --git a/TGeant4/TG4TrackingAction.cxx b/TGeant4/TG4TrackingAction.cxx index b2e1d0ac718..170dde2f2f7 100644 --- a/TGeant4/TG4TrackingAction.cxx +++ b/TGeant4/TG4TrackingAction.cxx @@ -8,21 +8,25 @@ #include "TG4VSensitiveDetector.h" #include "TG4Globals.h" +//_____________________________________________________________________________ TG4TrackingAction::TG4TrackingAction() { // } +//_____________________________________________________________________________ TG4TrackingAction::TG4TrackingAction(const TG4TrackingAction& right) { // TG4Globals::Exception("TG4TrackingAction is protected from copying."); } +//_____________________________________________________________________________ TG4TrackingAction::~TG4TrackingAction() { // } // operators +//_____________________________________________________________________________ TG4TrackingAction& TG4TrackingAction::operator=(const TG4TrackingAction &right) { @@ -36,6 +40,7 @@ TG4TrackingAction::operator=(const TG4TrackingAction &right) // public methods +//_____________________________________________________________________________ void TG4TrackingAction::PreUserTrackingAction(const G4Track* track) { // Called by G4 kernel before starting tracking. @@ -75,6 +80,7 @@ void TG4TrackingAction::PreUserTrackingAction(const G4Track* track) } } +//_____________________________________________________________________________ void TG4TrackingAction::PostUserTrackingAction(const G4Track* track) { // Called by G4 kernel after finishing tracking. diff --git a/TGeant4/TG4VXMLConvertor.cxx b/TGeant4/TG4VXMLConvertor.cxx index 4b5f1c2cb05..5fdb78b5fef 100644 --- a/TGeant4/TG4VXMLConvertor.cxx +++ b/TGeant4/TG4VXMLConvertor.cxx @@ -6,10 +6,12 @@ #include "TG4VXMLConvertor.h" +//_____________________________________________________________________________ TG4VXMLConvertor::TG4VXMLConvertor() { // } +//_____________________________________________________________________________ TG4VXMLConvertor::~TG4VXMLConvertor() { // } diff --git a/TGeant4/TG4VisManager.cxx b/TGeant4/TG4VisManager.cxx index e06460f25e2..8e51cb1560b 100644 --- a/TGeant4/TG4VisManager.cxx +++ b/TGeant4/TG4VisManager.cxx @@ -94,24 +94,28 @@ #include #endif +//_____________________________________________________________________________ TG4VisManager::TG4VisManager(G4int verboseLevel) { // fVerbose = verboseLevel; fColourFlag = true; } +//_____________________________________________________________________________ TG4VisManager::TG4VisManager(const TG4VisManager& right) { // TG4Globals::Exception( "Attempt to copy TG4VisManager singleton."); } +//_____________________________________________________________________________ TG4VisManager::~TG4VisManager() { // } // operators +//_____________________________________________________________________________ TG4VisManager& TG4VisManager::operator=(const TG4VisManager& right) { // check assignement to self @@ -125,6 +129,7 @@ TG4VisManager& TG4VisManager::operator=(const TG4VisManager& right) // private methods +//_____________________________________________________________________________ void TG4VisManager::RegisterGraphicsSystems() { // Registers the graphics systems. @@ -195,6 +200,7 @@ void TG4VisManager::RegisterGraphicsSystems() //--------------------------------------------------------------- +//_____________________________________________________________________________ G4RWTPtrOrderedVector TG4VisManager::GetLVList(G4String name) { // Get function returning the list of logical volumes @@ -236,6 +242,7 @@ G4RWTPtrOrderedVector TG4VisManager::GetLVList(G4String name) } +//_____________________________________________________________________________ G4RWTPtrOrderedVector TG4VisManager::GetPVList(G4String name) { // Get function returning the physical volume pointer for NAME @@ -261,6 +268,7 @@ G4RWTPtrOrderedVector TG4VisManager::GetPVList(G4String name) } +//_____________________________________________________________________________ G4bool TG4VisManager::CaseInsensitiveEqual(const G4String string1, const G4String string2) { @@ -284,6 +292,7 @@ G4bool TG4VisManager::CaseInsensitiveEqual(const G4String string1, } +//_____________________________________________________________________________ void TG4VisManager::SetAtt4Daughters(G4LogicalVolume* const lv, const TG4G3Attribute att, const G4int val) { @@ -311,6 +320,7 @@ void TG4VisManager::SetAtt4Daughters(G4LogicalVolume* const lv, } +//_____________________________________________________________________________ G4bool TG4VisManager::IsSharedVisAttributes(const G4LogicalVolume* pLV) { // Function seeking if the volume's visible attributes are shared with @@ -336,6 +346,7 @@ G4bool TG4VisManager::IsSharedVisAttributes(const G4LogicalVolume* pLV) } +//_____________________________________________________________________________ void TG4VisManager::SetG4Attribute(G4LogicalVolume* const lv, const TG4G3Attribute att, const G4int val) { @@ -543,6 +554,8 @@ void TG4VisManager::SetG4Attribute(G4LogicalVolume* const lv, // functions for drawing //----------------------------------------------------------------- + +//_____________________________________________________________________________ void TG4VisManager::DrawOneSpec(const char* name) { // Function called when one double-clicks on a volume name @@ -553,6 +566,7 @@ void TG4VisManager::DrawOneSpec(const char* name) } +//_____________________________________________________________________________ void TG4VisManager::SetColors() { // Function for setting default volume colours @@ -632,6 +646,7 @@ void TG4VisManager::SetColors() } +//_____________________________________________________________________________ void TG4VisManager::Gsatt(const char* name, const char* att, Int_t val) { // Geant3 description : @@ -749,6 +764,7 @@ void TG4VisManager::Gsatt(const char* name, const char* att, Int_t val) } +//_____________________________________________________________________________ void TG4VisManager::Gdraw(const char *name,Float_t theta, Float_t phi, Float_t psi, Float_t u0,Float_t v0,Float_t ul,Float_t vl) { diff --git a/TGeant4/TG4XMLConvertor.cxx b/TGeant4/TG4XMLConvertor.cxx index f0a09c93833..bc30f510428 100644 --- a/TGeant4/TG4XMLConvertor.cxx +++ b/TGeant4/TG4XMLConvertor.cxx @@ -28,6 +28,7 @@ const G4int TG4XMLConvertor::fgkMaxMaterialNameLength = 20; const G4int TG4XMLConvertor::fgkDefaultNumWidth = 7; const G4int TG4XMLConvertor::fgkDefaultNumPrecision = 4; +//_____________________________________________________________________________ TG4XMLConvertor::TG4XMLConvertor(G4std::ofstream& outFile) : fOutFile(outFile), fkBasicIndention(" "), @@ -40,12 +41,14 @@ TG4XMLConvertor::TG4XMLConvertor(G4std::ofstream& outFile) fOutFile.precision(fgkDefaultNumPrecision); } +//_____________________________________________________________________________ TG4XMLConvertor::~TG4XMLConvertor() { // } // private methods +//_____________________________________________________________________________ void TG4XMLConvertor::CutName(G4String& name) const { // Removes spaces after the name if present. @@ -55,6 +58,7 @@ void TG4XMLConvertor::CutName(G4String& name) const while (name(--i) == ' ') name = name(0,i); } +//_____________________________________________________________________________ void TG4XMLConvertor::CutName(G4String& name, G4int size) const { // Cuts name to given size. @@ -63,6 +67,7 @@ void TG4XMLConvertor::CutName(G4String& name, G4int size) const if (name.length() > size) name = name(0, size); } +//_____________________________________________________________________________ void TG4XMLConvertor::PutName(G4String& element, G4String name, G4String templ) const { @@ -81,6 +86,7 @@ void TG4XMLConvertor::PutName(G4String& element, G4String name, while (element.contains(templ)) element.replace(element.find(templ), 1 , " "); } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteBox(G4String lvName, const G4Box* box, G4String materialName) { @@ -110,6 +116,7 @@ void TG4XMLConvertor::WriteBox(G4String lvName, const G4Box* box, << element4 << G4endl << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteTubs(G4String lvName, const G4Tubs* tubs, G4String materialName) { @@ -146,7 +153,7 @@ void TG4XMLConvertor::WriteTubs(G4String lvName, const G4Tubs* tubs, << element5 << G4endl << G4endl; } - +//_____________________________________________________________________________ void TG4XMLConvertor::WriteCons(G4String lvName, const G4Cons* cons, G4String materialName) { @@ -187,7 +194,7 @@ void TG4XMLConvertor::WriteCons(G4String lvName, const G4Cons* cons, << element5 << G4endl << G4endl; } - +//_____________________________________________________________________________ void TG4XMLConvertor::WriteTrd(G4String lvName, const G4Trd* trd, G4String materialName) { @@ -221,7 +228,7 @@ void TG4XMLConvertor::WriteTrd(G4String lvName, const G4Trd* trd, << element4 << G4endl << G4endl; } - +//_____________________________________________________________________________ void TG4XMLConvertor::WriteTrap(G4String lvName, const G4Trap* trap, G4String materialName) { @@ -283,6 +290,7 @@ void TG4XMLConvertor::WriteTrap(G4String lvName, const G4Trap* trap, << element6 << G4endl << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WritePara(G4String lvName, const G4Para* para, G4String materialName) { @@ -334,6 +342,7 @@ void TG4XMLConvertor::WritePara(G4String lvName, const G4Para* para, << element7 << G4endl << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WritePolycone(G4String lvName, const G4Polycone* polycone, G4String materialName) { @@ -392,7 +401,7 @@ void TG4XMLConvertor::WritePolycone(G4String lvName, const G4Polycone* polycone, << element7 << G4endl << G4endl; } - +//_____________________________________________________________________________ void TG4XMLConvertor::WritePolyhedra(G4String lvName, const G4Polyhedra* polyhedra, G4String materialName) { @@ -467,6 +476,7 @@ void TG4XMLConvertor::WritePolyhedra(G4String lvName, const G4Polyhedra* polyhed // public methods +//_____________________________________________________________________________ void TG4XMLConvertor::OpenMaterials(const G4String& version, const G4String& date, const G4String& author, const G4String dtdVersion) @@ -489,6 +499,7 @@ void TG4XMLConvertor::OpenMaterials(const G4String& version, << element5 << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::OpenSection(const G4String& name, const G4String& version, const G4String& date, const G4String& author, const G4String& topVolume) @@ -531,6 +542,7 @@ void TG4XMLConvertor::OpenComposition(const G4String& name) IncreaseIndention(); } +//_____________________________________________________________________________ void TG4XMLConvertor::CloseMaterials() { // Writes materials closing. @@ -544,6 +556,7 @@ void TG4XMLConvertor::CloseMaterials() << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::CloseSection() { // Writes section closing. @@ -557,6 +570,7 @@ void TG4XMLConvertor::CloseSection() << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::CloseComposition() { // Writes composition closing. @@ -574,6 +588,7 @@ void TG4XMLConvertor::CloseComposition() << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteMaterial(const G4Material* material) { // Writes G4Material. @@ -594,6 +609,7 @@ void TG4XMLConvertor::WriteMaterial(const G4Material* material) << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteSolid(G4String lvName, const G4VSolid* solid, G4String materialName) { @@ -666,6 +682,7 @@ void TG4XMLConvertor::WriteSolid(G4String lvName, const G4VSolid* solid, << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteRotation(const G4RotationMatrix* rotation) { // Writes G4RotationMatrix. @@ -724,6 +741,7 @@ void TG4XMLConvertor::WriteRotation(const G4RotationMatrix* rotation) << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WritePosition(G4String lvName, G4ThreeVector position) { // Writes position without rotation with a given solid name. @@ -751,6 +769,7 @@ void TG4XMLConvertor::WritePosition(G4String lvName, G4ThreeVector position) << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WritePositionWithRotation( G4String lvName, G4ThreeVector position, const G4RotationMatrix* rotation) @@ -821,6 +840,7 @@ void TG4XMLConvertor::WritePositionWithRotation( << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteReplica(G4String lvName, G4PVReplica* pvr) { // Writes position without rotation with a given solid name. @@ -881,6 +901,7 @@ void TG4XMLConvertor::WriteReplica(G4String lvName, G4PVReplica* pvr) << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::WriteEmptyLine() { // Writes empty line. @@ -889,12 +910,14 @@ void TG4XMLConvertor::WriteEmptyLine() fOutFile << G4endl; } +//_____________________________________________________________________________ void TG4XMLConvertor::IncreaseIndention() { // increase indention fIndention.append(fkBasicIndention); } +//_____________________________________________________________________________ void TG4XMLConvertor::DecreaseIndention() { // decrease indention diff --git a/TGeant4/TG4XMLGeometryGenerator.cxx b/TGeant4/TG4XMLGeometryGenerator.cxx index 86895dc41b4..7ce4a9dce5f 100644 --- a/TGeant4/TG4XMLGeometryGenerator.cxx +++ b/TGeant4/TG4XMLGeometryGenerator.cxx @@ -22,6 +22,7 @@ TG4XMLGeometryGenerator* TG4XMLGeometryGenerator::fgInstance = 0; +//_____________________________________________________________________________ TG4XMLGeometryGenerator::TG4XMLGeometryGenerator() { // @@ -33,6 +34,7 @@ TG4XMLGeometryGenerator::TG4XMLGeometryGenerator() fConvertor = new TG4XMLConvertor(fOutFile); } +//_____________________________________________________________________________ TG4XMLGeometryGenerator::TG4XMLGeometryGenerator(const TG4XMLGeometryGenerator& right) { // @@ -40,13 +42,14 @@ TG4XMLGeometryGenerator::TG4XMLGeometryGenerator(const TG4XMLGeometryGenerator& "TG4XMLGeometryGenerator: attempt to copy singleton."); } - +//_____________________________________________________________________________ TG4XMLGeometryGenerator::~TG4XMLGeometryGenerator() { // } // operators +//_____________________________________________________________________________ TG4XMLGeometryGenerator& TG4XMLGeometryGenerator::operator=(const TG4XMLGeometryGenerator& right) { @@ -62,6 +65,7 @@ TG4XMLGeometryGenerator::operator=(const TG4XMLGeometryGenerator& right) // private methods +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::CutName(G4String& name) const { // Removes spaces after the name if present. @@ -71,6 +75,7 @@ void TG4XMLGeometryGenerator::CutName(G4String& name) const while (name(--i) == ' ') name = name(0,i); } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ProcessSolids(G4LogicalVolume* lv) { // Writes all solids of given logical volume. @@ -100,6 +105,7 @@ void TG4XMLGeometryGenerator::ProcessSolids(G4LogicalVolume* lv) } } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ProcessMaterials(G4LogicalVolume* lv) { // Writes all materials of given logical volume. @@ -135,6 +141,7 @@ void TG4XMLGeometryGenerator::ProcessMaterials(G4LogicalVolume* lv) } } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ProcessRotations(G4LogicalVolume* lv) { // Writes all rotation matrices of given logical volume. @@ -167,6 +174,7 @@ void TG4XMLGeometryGenerator::ProcessRotations(G4LogicalVolume* lv) } } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ProcessLogicalVolume(G4LogicalVolume* lv) { // Writes logical volume tree. @@ -252,6 +260,7 @@ void TG4XMLGeometryGenerator::ProcessLogicalVolume(G4LogicalVolume* lv) } } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ClearMaterialNames() { // Clears the set of material names. @@ -260,6 +269,7 @@ void TG4XMLGeometryGenerator::ClearMaterialNames() fMaterialNames.erase(fMaterialNames.begin(), fMaterialNames.end()); } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::ClearVolumeNames() { // Clears the set of volume names. @@ -270,6 +280,7 @@ void TG4XMLGeometryGenerator::ClearVolumeNames() // public methods +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::GenerateMaterials( const G4String& version, const G4String& date, const G4String& author, const G4String dtdVersion, @@ -294,6 +305,7 @@ void TG4XMLGeometryGenerator::GenerateMaterials( fConvertor->WriteEmptyLine(); } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::GenerateSection(const G4String& name, const G4String& version, const G4String& date, const G4String& author, const G4String& topVolume, @@ -328,6 +340,7 @@ void TG4XMLGeometryGenerator::GenerateSection(const G4String& name, fConvertor->CloseSection(); } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::OpenFile(G4String filePath) { // Opens output file. @@ -346,6 +359,7 @@ void TG4XMLGeometryGenerator::OpenFile(G4String filePath) } +//_____________________________________________________________________________ void TG4XMLGeometryGenerator::CloseFile() { // Closes output file. -- 2.43.0