]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added comment lines separating methods
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Aug 2001 11:04:25 +0000 (11:04 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Aug 2001 11:04:25 +0000 (11:04 +0000)
29 files changed:
TGeant4/TG4ElementTable.cxx
TGeant4/TG4G3ControlVector.cxx
TGeant4/TG4G3CutVector.cxx
TGeant4/TG4G3PhysicsManager.cxx
TGeant4/TG4G3Units.cxx
TGeant4/TG4GeometryOutputManager.cxx
TGeant4/TG4Globals.cxx
TGeant4/TG4IntMap.cxx
TGeant4/TG4Limits.cxx
TGeant4/TG4Messenger.cxx
TGeant4/TG4ModularPhysicsList.cxx
TGeant4/TG4NameMap.cxx
TGeant4/TG4ParticlesManager.cxx
TGeant4/TG4PhysicsConstructorEM.cxx
TGeant4/TG4PhysicsConstructorHadron.cxx
TGeant4/TG4PhysicsConstructorOptical.cxx
TGeant4/TG4PhysicsConstructorSpecialControls.cxx
TGeant4/TG4PhysicsConstructorSpecialCuts.cxx
TGeant4/TG4Polycone.cxx
TGeant4/TG4Polyhedra.cxx
TGeant4/TG4RunMessenger.cxx
TGeant4/TG4SpecialControls.cxx
TGeant4/TG4SpecialCuts.cxx
TGeant4/TG4SteppingAction.cxx
TGeant4/TG4TrackingAction.cxx
TGeant4/TG4VXMLConvertor.cxx
TGeant4/TG4VisManager.cxx
TGeant4/TG4XMLConvertor.cxx
TGeant4/TG4XMLGeometryGenerator.cxx

index 2e019e53e907c2a2442ded003b616de75679718b..5b163915c99ab0ecca994bb4fa135988a6e20ce2 100644 (file)
 
 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
index eccce75a5728186b59280d01fc07643141363e86..7ed2c410897ab6a158408f6c47a17bc6f55874af 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <math.h>
 
+//_____________________________________________________________________________
 TG4G3ControlVector::TG4G3ControlVector()
 {
   // initialize fControlVector 
@@ -18,6 +19,7 @@ TG4G3ControlVector::TG4G3ControlVector()
   for (G4int i=0; i<kNoG3Controls; i++) fControlVector->insert(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
index 7073a18344f6ad9ab7680fa5810766685925bce3..e03ff453f53b6ab482d6b96519495fa93f1ad224 100644 (file)
@@ -10,6 +10,7 @@
 #include <G4ParticleDefinition.hh>
 #include <G4VProcess.hh>
 
+//_____________________________________________________________________________
 TG4G3CutVector::TG4G3CutVector()
 {
   // initialize fCutVector 
@@ -17,6 +18,7 @@ TG4G3CutVector::TG4G3CutVector()
   for (G4int i=0; i<kNoG3Cuts; i++) fCutVector->insert(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.
index d06172d92867ce3f3c5a25442609fdd0093a8fd8..610dadb5335180d41d0cf6ea6a7ea89abc1c1ee5 100644 (file)
@@ -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 
 {
index 042e9525a40ddf5a31f6421984633f415ca65da6..e5642db73e3ed896e0bd0cf906dd5c562ca59361 100644 (file)
@@ -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() {
 //
 }
index 21194e582d3cd5d1a9f4ea1dad8441e707be3105..ecd450308f16d46a46d42153d36eabae65aaef0a 100644 (file)
@@ -7,16 +7,19 @@
 #include <g4std/iostream>
 #include <g4std/iomanip>
 
+//_____________________________________________________________________________
 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
index 1a9980746b7612060533253e73a374dcd6dbba12..08d09a8d17ac1a249c1aa5538ddcc48fa9b34826 100644 (file)
@@ -7,16 +7,19 @@
 
 #include <stdlib.h>
 
+//_____________________________________________________________________________
 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.
index 0dcd5b3c9b02ded7c9b5e1b20795791885206ad2..85b18ab671231e0db94bcb4314927d4fcf1b58c3 100644 (file)
 typedef G4std::map<G4String, G4int, G4std::less<G4String> >
   :: 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.
index fdb51920d58edb61848bbc7115b3cbafc758e064..ad973473f22cbf12d240565f207a90f32f4d4936 100644 (file)
@@ -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
index 2e7d3e3cec587f4732d24f3b37ad302d80abdb4d..818dfc0e0f9582f29136e3e2fa28b08f14327bbc 100644 (file)
@@ -11,6 +11,7 @@
 #include <G4UIcmdWithoutParameter.hh>
 #include <G4UIcmdWithABool.hh>
 
+//_____________________________________________________________________________
 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.
index cb2dd88f9b3340d3ba5524aaf43451fe92d204d5..65f2837729820de37e28ce79f5a872d9698194ed 100644 (file)
@@ -22,6 +22,7 @@
 #include <G4Decay.hh>
 
 
+//_____________________________________________________________________________
 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.
index e22b1b01304c9c4860e5093b9dafbc128b1647df..5877eb41eb2ba9d58faad484b1d871a228d5fbef 100644 (file)
@@ -14,22 +14,26 @@ G4String TG4NameMap::fgUndefined = "Undefined";
 typedef G4std::map<G4String, G4String, G4std::less<G4String> >
   :: 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.
index e9da06b114cc4a17adf35e0aff5d5bd2f6139f74..df714bc62aaeb8cf65bfc6268c2e4391c8d6a473 100644 (file)
@@ -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
 {
index fea4a67ea5bb004f27e86eed82eebd8f2db97130..7793c85d8d7503413709f8165c0d36895bf78513 100644 (file)
@@ -21,6 +21,7 @@
 #include <G4MuPairProduction.hh>
 #include <G4hIonisation.hh>
 
+//_____________________________________________________________________________
 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.
index 96aa3bc63905b4afc6c85ffb00654caf9f42acc2..7f6485386a3454a9994093e0ac5c7f0949b6311e 100644 (file)
 #include <G4KaonMinusAbsorptionAtRest.hh>
 #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
index 517f8e53396a61494c3209bf798bf947fe574a55..884ff6044115bf456b9d6ca0e927bd1e2f40af05 100644 (file)
@@ -12,6 +12,7 @@
 #include <G4OpRayleigh.hh>
 #include <G4OpBoundaryProcess.hh>
 
+//_____________________________________________________________________________
 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.
index 851e81cc49e4c7a6b76665eb8deba76201ce7072..7cb1aca24111eeca3b2427e933c94c065d2f287b 100644 (file)
@@ -12,6 +12,7 @@
 #include <G4ProcessManager.hh>
 #include <G4VProcess.hh>
 
+//_____________________________________________________________________________
 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
index 67a136ade8b92de808a74f3e07dccc51efc4b0ee..a62f4dd17dbf8981e12646a724613fc3efc632fb 100644 (file)
@@ -12,6 +12,7 @@
 #include <G4VProcess.hh>
 
 
+//_____________________________________________________________________________
 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
index c6151c4c874c797b5949273163ab3129bdc9619a..d4c213ac3438b306fae0dd8f6dab6f0c17d2cea4 100644 (file)
@@ -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.
index aa5a422b491a901727e9274310649481510b1fad..b5ee30d102f07930edb2f7b99fafee93846a24c8 100644 (file)
@@ -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.
index 5566cc0f73688c5a109e70779241f6a4217b98c3..97d44b68763f6ec8cc168eef52a9da2a8c6ecbcd 100644 (file)
@@ -12,6 +12,7 @@
 #include <G4UIcmdWithoutParameter.hh>
 #include <G4UIcmdWithAString.hh>
 
+//_____________________________________________________________________________
 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.
index bfb299ff16193eaf96b5dd53cd15225a18ba46b4..4966935c5e4b88375f9470a8a70773ce1fbe31ee 100644 (file)
@@ -10,6 +10,7 @@
 #include <G4ProcessManager.hh>
 #include <G4ProcessVector.hh>
 
+//_____________________________________________________________________________
 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)
 {
index 19464547ab683c8a2d7725fae793d51daf94bf0a..92a89ba526aea7d47024931a5ed3d9e357add613 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <G4EnergyLossTables.hh>
 
+//_____________________________________________________________________________
 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)
 {
index 07dcaec197570be1f247ef012c0602129e24833a..835cdfbc13f3eed561f12425023c0fd1575e77dd 100644 (file)
@@ -10,6 +10,7 @@
 #include <G4Track.hh>
 #include <G4SteppingManager.hh>
 
+//_____________________________________________________________________________
 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.
index b2e1d0ac718d5a009b4228dbc226d8f5efafcd9b..170dde2f2f78c126aa72b6184a690ddc026c22ac 100644 (file)
@@ -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.
index 4b5f1c2cb05b1a75d8115cb4420b3910cbbc6366..5fdb78b5fef9fd9afc1097ba2b6581a2ece96cbc 100644 (file)
@@ -6,10 +6,12 @@
 
 #include "TG4VXMLConvertor.h"
 
+//_____________________________________________________________________________
 TG4VXMLConvertor::TG4VXMLConvertor() {
 //
 }
 
+//_____________________________________________________________________________
 TG4VXMLConvertor::~TG4VXMLConvertor() {
 //
 }
index e06460f25e2562598fdbf1b269d281d1e1086a2b..8e51cb1560b3de5b113e753cfd7e1fe473006176 100644 (file)
 #include <G4VRML2File.hh>
 #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<G4LogicalVolume> TG4VisManager::GetLVList(G4String name)
 {
 // Get function returning the list of logical volumes
@@ -236,6 +242,7 @@ G4RWTPtrOrderedVector<G4LogicalVolume> TG4VisManager::GetLVList(G4String name)
 }
 
 
+//_____________________________________________________________________________
 G4RWTPtrOrderedVector<G4VPhysicalVolume> TG4VisManager::GetPVList(G4String name)
 {
 // Get function returning the physical volume pointer for NAME
@@ -261,6 +268,7 @@ G4RWTPtrOrderedVector<G4VPhysicalVolume> 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)
 { 
index f0a09c93833ff0f6a242b85e21b59da18a818bc8..bc30f5104288c9d0a80ab01bbe13476d5cca6ef2 100644 (file)
@@ -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
index 86895dc41b4160dd92f7a8dfc588412aea8d88a9..7ce4a9dce5f01436df05672283f823cb20955823 100644 (file)
@@ -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.