]> 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 12:13:05 +0000 (12:13 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Aug 2001 12:13:05 +0000 (12:13 +0000)
27 files changed:
AliGeant4/AliColour.cxx
AliGeant4/AliColourStore.cxx
AliGeant4/AliDetConstruction.cxx
AliGeant4/AliDetSwitch.cxx
AliGeant4/AliEmptyPhysicsList.cxx
AliGeant4/AliEventAction.cxx
AliGeant4/AliEventActionMessenger.cxx
AliGeant4/AliGlobals.cxx
AliGeant4/AliGunParticle.cxx
AliGeant4/AliLVStructure.cxx
AliGeant4/AliMagneticField.cxx
AliGeant4/AliModuleConstruction.cxx
AliGeant4/AliModuleConstructionMessenger.cxx
AliGeant4/AliParticleGun.cxx
AliGeant4/AliParticleGunMessenger.cxx
AliGeant4/AliPrimaryGeneratorAction.cxx
AliGeant4/AliPrimaryGeneratorMessenger.cxx
AliGeant4/AliRunActionMessenger.cxx
AliGeant4/AliRunMessenger.cxx
AliGeant4/AliSDManager.cxx
AliGeant4/AliStackingAction.cxx
AliGeant4/AliStackingActionMessenger.cxx
AliGeant4/AliSteppingAction.cxx
AliGeant4/AliSteppingActionMessenger.cxx
AliGeant4/AliTrackInformation.cxx
AliGeant4/AliTrackingAction.cxx
AliGeant4/AliTrackingActionMessenger.cxx

index eeeddc1415498b6d7981692e90049289c816fda7..fe01b6a8ba79e5d4b632dd11a990a070fd7abf94 100644 (file)
@@ -6,6 +6,7 @@
 #include "AliColour.h"
 #include <G4Colour.hh>
   
+//_____________________________________________________________________________
 AliColour::AliColour()
   : fName (""),
     fRed(0.),
@@ -15,6 +16,7 @@ AliColour::AliColour()
 //
 }
 
+//_____________________________________________________________________________
 AliColour::AliColour(G4String name, G4double red, G4double blue, G4double green)
   : fName(name),
     fRed(red),
@@ -24,18 +26,21 @@ AliColour::AliColour(G4String name, G4double red, G4double blue, G4double green)
 //
 }
 
+//_____________________________________________________________________________
 AliColour::AliColour(const AliColour& right) {
 //
   // copy stuff
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliColour::~AliColour() {
 //
 }
 
 // operators
 
+//_____________________________________________________________________________
 AliColour& AliColour::operator=(const AliColour& right)
 {    
   // check assignement to self
@@ -49,6 +54,7 @@ AliColour& AliColour::operator=(const AliColour& right)
   return *this;
 }
 
+//_____________________________________________________________________________
 G4int AliColour::operator==(const AliColour& right) const
 {    
 //
@@ -60,6 +66,7 @@ G4int AliColour::operator==(const AliColour& right) const
   return returnValue;  
 }
 
+//_____________________________________________________________________________
 G4int AliColour::operator!=(const AliColour& right) const
 {
 //    
index ed8b67072ad14c32a6d283e84fdfc64a54919f35..04f49de1bca651ece3686307083a342fc8e931c3 100644 (file)
 
 // static data members
 
+//_____________________________________________________________________________
 AliColourStore* AliColourStore::fgInstance = 0;
 
 // lifecycle
 
+//_____________________________________________________________________________
 AliColourStore::AliColourStore() {
 //
   fColours.insert(AliColour("White",     1.0, 1.0, 1.0));    
@@ -35,18 +37,21 @@ AliColourStore::AliColourStore() {
   fColours.insert(AliColour("GrayClair", 0.6, 0.6, 0.6));
 }
 
+//_____________________________________________________________________________
 AliColourStore::AliColourStore(const AliColourStore& right) {
 // 
   AliGlobals::Exception(
     "Attempt to copy AliColourStore singleton.");
 }
 
+//_____________________________________________________________________________
 AliColourStore::~AliColourStore() {
 //
 }
 
 // operators
 
+//_____________________________________________________________________________
 AliColourStore& AliColourStore::operator=(const AliColourStore& right)
 {
   // check assignement to self
@@ -60,6 +65,7 @@ AliColourStore& AliColourStore::operator=(const AliColourStore& right)
 
 // static methods
   
+//_____________________________________________________________________________
 AliColourStore* AliColourStore::Instance() 
 {
 // Returns the singleton instance.
@@ -75,6 +81,7 @@ AliColourStore* AliColourStore::Instance()
 
 // public methods
 
+//_____________________________________________________________________________
 G4Colour AliColourStore::GetColour(G4String name) const
 {
 // Retrieves the colour by name.
@@ -93,6 +100,7 @@ G4Colour AliColourStore::GetColour(G4String name) const
   return 0;
 }
     
+//_____________________________________________________________________________
 G4String AliColourStore::GetColoursList() const
 {
 // Returns the list of all defined colours names.
@@ -108,6 +116,7 @@ G4String AliColourStore::GetColoursList() const
   return list;
 } 
        
+//_____________________________________________________________________________
 G4String AliColourStore::GetColoursListWithCommas() const
 {
 // Returns the list of all defined colours names
index baaacda5016e49aa1cffe6d03be39984d9a35cc1..4b378dc104ebe60a441c0d782fce3682f6045e58 100644 (file)
@@ -10,6 +10,7 @@
 #include "AliRun.h"
 #include "AliModule.h"
 
+//_____________________________________________________________________________
 AliDetConstruction::AliDetConstruction()
   : fTopVolumeName("ALIC")
 {
@@ -59,18 +60,21 @@ AliDetConstruction::AliDetConstruction()
   AddDetSwitch(detSwitch);  
 }
 
+//_____________________________________________________________________________
 AliDetConstruction::AliDetConstruction(const AliDetConstruction& right)
   : AliModulesComposition(right)
 {
   // AliModuleComposition is protected from copying
 }  
 
+//_____________________________________________________________________________
 AliDetConstruction::~AliDetConstruction() {
 //
 }
 
 // operators
 
+//_____________________________________________________________________________
 AliDetConstruction& 
 AliDetConstruction::operator=(const AliDetConstruction& right)
 {
@@ -86,6 +90,7 @@ AliDetConstruction::operator=(const AliDetConstruction& right)
           
 // private methods
 
+//_____________________________________________________________________________
 void AliDetConstruction::BuildDetectors()
 {
 // Create module constructions for AliModules 
@@ -129,6 +134,7 @@ void AliDetConstruction::BuildDetectors()
   SetProcessConfigToModules(false);    
 }
 
+//_____________________________________________________________________________
 void AliDetConstruction::CreateDetectors()
 {
 // Creates AliModules and their module constructions 
@@ -154,6 +160,7 @@ void AliDetConstruction::CreateDetectors()
   }    
 }
 
+//_____________________________________________________________________________
 void AliDetConstruction::CheckDetDependencies()
 {
 // Checks modules dependencies.
@@ -223,6 +230,7 @@ void AliDetConstruction::CheckDetDependencies()
 
 // public methods
 
+//_____________________________________________________________________________
 G4VPhysicalVolume* AliDetConstruction::Construct()
 {
 // Constructs geometry.
index 4bff2ee1cdb578d5fa3975b3893a4de48a7cfa04..8bc5f4eb170c7078ae4fd29356073fb020e8a793 100644 (file)
@@ -6,6 +6,7 @@
 #include "AliDetSwitch.h"
 #include "AliGlobals.h"
 
+//_____________________________________________________________________________
 AliDetSwitch::AliDetSwitch(G4String detName, G4int nofVersions, 
                  G4int defaultVersion, G4int pprVersion,
                 AliModuleType modType, G4bool isStandalone)
@@ -20,17 +21,21 @@ AliDetSwitch::AliDetSwitch(G4String detName, G4int nofVersions,
 //
 }
 
+//_____________________________________________________________________________
 AliDetSwitch::AliDetSwitch(const AliDetSwitch& right) {
 //
   // copy stuff
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliDetSwitch::~AliDetSwitch(){
 //
 }
 
 // operators
+
+//_____________________________________________________________________________
 AliDetSwitch& AliDetSwitch::operator=(const AliDetSwitch& right)
 {    
   // check assignement to self
@@ -47,6 +52,7 @@ AliDetSwitch& AliDetSwitch::operator=(const AliDetSwitch& right)
   return *this;
 }
 
+//_____________________________________________________________________________
 G4int AliDetSwitch::operator==(const AliDetSwitch& right) const
 {    
 //
@@ -57,6 +63,7 @@ G4int AliDetSwitch::operator==(const AliDetSwitch& right) const
   return returnValue;  
 }
 
+//_____________________________________________________________________________
 G4int AliDetSwitch::operator!=(const AliDetSwitch& right) const
 { 
 //   
@@ -68,6 +75,7 @@ G4int AliDetSwitch::operator!=(const AliDetSwitch& right) const
   
 // public methods
 
+//_____________________________________________________________________________
 void AliDetSwitch::SwitchOn(G4int iVersion)
 {
 // Switchs on the iVersion version.
@@ -82,6 +90,7 @@ void AliDetSwitch::SwitchOn(G4int iVersion)
   fSwitchedVersion = iVersion;
 }
 
+//_____________________________________________________________________________
 void AliDetSwitch::SwitchOnDefault()
 {
 // Switchs on the default version.
@@ -90,6 +99,7 @@ void AliDetSwitch::SwitchOnDefault()
   fSwitchedVersion = fDefaultVersion;
 }
 
+//_____________________________________________________________________________
 void AliDetSwitch::SwitchOnPPR()
 {
 // Switchs on the default version.
@@ -98,6 +108,7 @@ void AliDetSwitch::SwitchOnPPR()
   fSwitchedVersion = fPPRVersion;
 }
 
+//_____________________________________________________________________________
 void AliDetSwitch::SwitchOff()
 {
 // No version is switched on.
index 09558015d7f55e5c88ef43f5155ba4739262c287..83897a5cdfaee9bf200a6e8452601ab9ee22471a 100644 (file)
@@ -9,18 +9,21 @@
 #include <G4Geantino.hh>
 #include <G4ChargedGeantino.hh>
 
+//_____________________________________________________________________________
 AliEmptyPhysicsList::AliEmptyPhysicsList() {
 //
   defaultCutValue = AliGlobals::DefaultCut();
   SetVerboseLevel(1);
 }
 
+//_____________________________________________________________________________
 AliEmptyPhysicsList::~AliEmptyPhysicsList() {
 //
 }
 
 // public methods
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructParticle()
 {
 // In this method, static member functions should be called
@@ -35,6 +38,7 @@ void AliEmptyPhysicsList::ConstructParticle()
   ConstructBarions();
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructBosons()
 {
 // Constructs pseudo-particles only.
@@ -44,21 +48,25 @@ void AliEmptyPhysicsList::ConstructBosons()
   G4ChargedGeantino::ChargedGeantinoDefinition();
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructLeptons()
 {
   // no leptons
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructMesons()
 {
  //  no mesons
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructBarions()
 {
  // no barions
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructProcess()
 {
 // Constructs physics processes.
@@ -69,16 +77,19 @@ void AliEmptyPhysicsList::ConstructProcess()
   ConstructGeneral();
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructEM()
 {
   // no EM
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::ConstructGeneral()
 {
   // no Decay Process
 }
 
+//_____________________________________________________________________________
 void AliEmptyPhysicsList::SetCuts()
 {
 // Sets the default range cut values for all defined particles.
index 5e162090be441b7dcba301b96e83ceb3a674160f..ee1c4933b63ee4690e9cddf3ea6487e2208fee43 100644 (file)
@@ -20,6 +20,7 @@
 #include <G4VVisManager.hh>
 #include <G4UImanager.hh>
 
+//_____________________________________________________________________________
 AliEventAction::AliEventAction()
   : fVerboseLevel(1), 
     fDrawFlag("CHARGED")
@@ -29,11 +30,13 @@ AliEventAction::AliEventAction()
   fTimer = new G4Timer();
 }
 
+//_____________________________________________________________________________
 AliEventAction::AliEventAction(const AliEventAction& right) {
 //
   AliGlobals::Exception("AliEventAction is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliEventAction::~AliEventAction() {
 //
   delete fMessenger;
@@ -42,6 +45,7 @@ AliEventAction::~AliEventAction() {
 
 // operators
 
+//_____________________________________________________________________________
 AliEventAction& AliEventAction::operator=(const AliEventAction &right)
 {
   // check assignement to self
@@ -54,6 +58,7 @@ AliEventAction& AliEventAction::operator=(const AliEventAction &right)
 
 // private methods
 
+//_____________________________________________________________________________
 void AliEventAction::DisplayEvent(const G4Event* event) const
 {
 // Draws trajectories.
@@ -98,6 +103,7 @@ void AliEventAction::DisplayEvent(const G4Event* event) const
 
 // public methods
 
+//_____________________________________________________________________________
 void AliEventAction::BeginOfEventAction(const G4Event* event)
 {
 // Called by G4 kernel at the beginning of event.
@@ -114,6 +120,7 @@ void AliEventAction::BeginOfEventAction(const G4Event* event)
   fTimer->Start();
 }
 
+//_____________________________________________________________________________
 void AliEventAction::EndOfEventAction(const G4Event* event)
 {
 // Called by G4 kernel at the end of event.
index d043f779df65a04a712a437719371cac90acc009..83a3504bf1a2a7467ceffd0ab1377d7306ddad10 100644 (file)
@@ -11,6 +11,7 @@
 #include <G4UIcmdWithAString.hh>
 #include <G4UIcmdWithAnInteger.hh>
 
+//_____________________________________________________________________________
 AliEventActionMessenger::AliEventActionMessenger(AliEventAction* eventAction)
   :fEventAction(eventAction)
 { 
@@ -34,16 +35,19 @@ AliEventActionMessenger::AliEventActionMessenger(AliEventAction* eventAction)
   fVerboseCmd->AvailableForStates(Idle);
 }
 
+//_____________________________________________________________________________
 AliEventActionMessenger::AliEventActionMessenger(){
 //
 }
 
+//_____________________________________________________________________________
 AliEventActionMessenger::AliEventActionMessenger(
                                  const AliEventActionMessenger& right) {
 //                              
   AliGlobals::Exception("AliEventActionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliEventActionMessenger::~AliEventActionMessenger() {
 //
   delete fEventDirectory;
@@ -53,6 +57,7 @@ AliEventActionMessenger::~AliEventActionMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliEventActionMessenger& 
 AliEventActionMessenger::operator=(const AliEventActionMessenger &right)
 {
@@ -66,6 +71,7 @@ AliEventActionMessenger::operator=(const AliEventActionMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliEventActionMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 { 
index f6ba0845e8939bbe87e88f3a8a0087ecce017cf4..ac226546a03b522ff446507f0b2e1ed52778b171 100644 (file)
 // static data members
 const G4double AliGlobals::fgkDefaultCut = 2.0*mm;
 
+//_____________________________________________________________________________
 AliGlobals::AliGlobals() {
 //
 }
   
+//_____________________________________________________________________________
 AliGlobals::~AliGlobals() {
 //
 }
   
 // static methods
 
+//_____________________________________________________________________________
 void AliGlobals::Exception(const char* s)
 {
 // Prints error message end exits the program.
@@ -32,6 +35,7 @@ void AliGlobals::Exception(const char* s)
   exit(1);
 }
 
+//_____________________________________________________________________________
 void AliGlobals::Warning(const char* s)
 {
 // Prints warning message.
@@ -44,27 +48,32 @@ void AliGlobals::Warning(const char* s)
 }
 
 #ifdef G4USE_STL
+//_____________________________________________________________________________
 void AliGlobals::Exception(G4std::string s) {
 //
   AliGlobals::Exception(s.c_str());
 }
 
+//_____________________________________________________________________________
 void AliGlobals::Exception(G4String s) {
 //
    AliGlobals::Exception(s.c_str());
 }
 
+//_____________________________________________________________________________
 void AliGlobals::Warning(G4std::string s) {
 //
   AliGlobals::Warning(s.c_str());
 }
 
+//_____________________________________________________________________________
 void AliGlobals::Warning(G4String s) {
 //
   AliGlobals::Warning(s.c_str());
 }
 #endif
 
+//_____________________________________________________________________________
 void AliGlobals::AppendNumberToString(G4String& s, G4int a)
 {
 // Appends number to string.
@@ -72,6 +81,7 @@ void AliGlobals::AppendNumberToString(G4String& s, G4int a)
   TG4Globals::AppendNumberToString(s, a);
 }
 
+//_____________________________________________________________________________
 G4int AliGlobals::StringToInt(G4String s)
 {
 // Converts one char string to integer number.
index 113997b7cdbdab01e181ae7a879d9b36bf6ab3df..090267a132f01f319371413802fb0e5885172bbf 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <G4ParticleDefinition.hh>
 
+//_____________________________________________________________________________
 AliGunParticle::AliGunParticle()
   : fParticleDefinition(0),
     fParticleMomentum(G4ThreeVector(0., 0., 1.)),
@@ -17,6 +18,7 @@ AliGunParticle::AliGunParticle()
 //
 }
 
+//_____________________________________________________________________________
 AliGunParticle::AliGunParticle(G4ParticleDefinition* particleDef,
                    G4ParticleMomentum momentum, G4ThreeVector position, 
                    G4double time, G4ThreeVector polarization )
@@ -29,6 +31,7 @@ AliGunParticle::AliGunParticle(G4ParticleDefinition* particleDef,
 //
 }
 
+//_____________________________________________________________________________
 AliGunParticle::AliGunParticle( G4ParticleDefinition* particleDef, 
                    G4ParticleMomentum momentumDir, G4double kinEnergy,
                   G4ThreeVector position, G4double time, 
@@ -45,18 +48,21 @@ AliGunParticle::AliGunParticle( G4ParticleDefinition* particleDef,
   fParticleMomentum = pmag*momentumDir;
 }
 
+//_____________________________________________________________________________
 AliGunParticle::AliGunParticle(const AliGunParticle& right) {
 //
   // copy stuff
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliGunParticle::~AliGunParticle() {
 //
 }
 
 // operators
 
+//_____________________________________________________________________________
 AliGunParticle& AliGunParticle::operator=(const AliGunParticle& right)
 {    
   // check assignement to self
@@ -71,6 +77,7 @@ AliGunParticle& AliGunParticle::operator=(const AliGunParticle& right)
   return *this;
 }
 
+//_____________________________________________________________________________
 G4int AliGunParticle::operator==(const AliGunParticle& right) const 
 {
 //    
@@ -84,6 +91,7 @@ G4int AliGunParticle::operator==(const AliGunParticle& right) const
   return returnValue;  
 }
 
+//_____________________________________________________________________________
 G4int AliGunParticle::operator!=(const AliGunParticle& right) const
 {
 //    
@@ -95,6 +103,7 @@ G4int AliGunParticle::operator!=(const AliGunParticle& right) const
 
 // public methods
 
+//_____________________________________________________________________________
 void AliGunParticle::Print() const
 {
 // Prints particle properties.
@@ -112,6 +121,7 @@ void AliGunParticle::Print() const
   G4cout << fPolarization << G4endl;
 }  
 
+//_____________________________________________________________________________
 void AliGunParticle::SetKineticEnergy(G4double kinEnergy)
 {
 // Sets kinetic energy.
@@ -123,6 +133,7 @@ void AliGunParticle::SetKineticEnergy(G4double kinEnergy)
   fParticleMomentum.setMag(pmag); 
 }
 
+//_____________________________________________________________________________
 G4double AliGunParticle::GetKineticEnergy() const
 {
 // Gets kinetic energy.
@@ -133,11 +144,3 @@ G4double AliGunParticle::GetKineticEnergy() const
    = sqrt(fParticleMomentum.mag()*fParticleMomentum.mag() + mass*mass);
   return energy - mass;
 }
-
-
-
-
-
-
-
-
index d9ac1ba81d6e44de39ff4bf2e54d85882033cb5d..e73ea43bbaaa6266acfb1d68ea4a2e7a3d9a74ac 100644 (file)
@@ -14,6 +14,7 @@
 #endif //ALICE_VISUALIZE
 #include <G4LogicalVolume.hh>
 
+//_____________________________________________________________________________
 AliLVStructure::AliLVStructure(G4String path)
   : fPathName(path),
     fDirName(path),
@@ -29,16 +30,19 @@ AliLVStructure::AliLVStructure(G4String path)
   }
 }
 
+//_____________________________________________________________________________
 AliLVStructure::AliLVStructure(const AliLVStructure& right)
 {
   // copy stuff
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliLVStructure::AliLVStructure() {
 //
 }
 
+//_____________________________________________________________________________
 AliLVStructure::~AliLVStructure() {
 //
   fStructures.clearAndDestroy();
@@ -47,6 +51,7 @@ AliLVStructure::~AliLVStructure() {
 
 // operators
 
+//_____________________________________________________________________________
 AliLVStructure& AliLVStructure::operator=(const AliLVStructure &right)
 {
   // check assignement to self
@@ -75,6 +80,7 @@ AliLVStructure& AliLVStructure::operator=(const AliLVStructure &right)
   return *this;
 }
 
+//_____________________________________________________________________________
 G4int AliLVStructure::operator==(const AliLVStructure &right) const
 {
   // check == to self
@@ -85,6 +91,7 @@ G4int AliLVStructure::operator==(const AliLVStructure &right) const
 
 // private methods
 
+//_____________________________________________________________________________
 AliLVStructure* AliLVStructure::FindSubDirectory(G4String subDir)
 {
 // Finds the subdirectory.
@@ -96,6 +103,7 @@ AliLVStructure* AliLVStructure::FindSubDirectory(G4String subDir)
   return 0;
 }
 
+//_____________________________________________________________________________
 G4String AliLVStructure::ExtractDirName(G4String name)
 {
 // Extracts the directory name from the path.
@@ -109,6 +117,7 @@ G4String AliLVStructure::ExtractDirName(G4String name)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliLVStructure::AddNewVolume(G4LogicalVolume* lv, 
                       G4String treeStructure)
 {
@@ -143,6 +152,7 @@ void AliLVStructure::AddNewVolume(G4LogicalVolume* lv,
   }
 }
 
+//_____________________________________________________________________________
 G4LogicalVolume* AliLVStructure::GetVolume(G4String lvName)
 {
 // Returns logical volume of lvName if present in the structure,
@@ -156,6 +166,7 @@ G4LogicalVolume* AliLVStructure::GetVolume(G4String lvName)
   return 0;
 }
 
+//_____________________________________________________________________________
 G4LogicalVolume* AliLVStructure::FindVolume(G4String name)
 {
 // Finds logical volume of given name in all structure tree.
@@ -189,6 +200,7 @@ G4LogicalVolume* AliLVStructure::FindVolume(G4String name)
   }
 }
 
+//_____________________________________________________________________________
 void AliLVStructure::ListTree() const
 {
 // Prints LV tree structure.
@@ -203,6 +215,7 @@ void AliLVStructure::ListTree() const
   }
 }
         
+//_____________________________________________________________________________
 void AliLVStructure::ListTreeLong() const
 {
 // Prints LV tree structure with number of
@@ -219,6 +232,7 @@ void AliLVStructure::ListTreeLong() const
   }
 }
         
+//_____________________________________________________________________________
 void AliLVStructure::SetVerboseLevel(G4int verbose) 
 {
 // Sets verbose level.
@@ -231,6 +245,7 @@ void AliLVStructure::SetVerboseLevel(G4int verbose)
 }
 
 #ifdef ALICE_VISUALIZE
+//_____________________________________________________________________________
 void AliLVStructure::SetTreeVisibility(G4bool visibility)       
 {
 // Sets visibility to all logical volumes in the structure 
@@ -259,6 +274,7 @@ void AliLVStructure::SetTreeVisibility(G4bool visibility)
   }
 }
 
+//_____________________________________________________________________________
 void AliLVStructure::SetTreeColour(G4String colName)
 {
 // Sets colour specified  by name to all logical volumes
index 211ddb5d6caaa867812f1217f81f7843cee623be..1706f0ff5d93feaccc542e7344c488d263428350 100644 (file)
@@ -12,6 +12,7 @@
 
 //  Constructors
 
+//_____________________________________________________________________________
 AliMagneticField::AliMagneticField()
   : G4UniformMagField(G4ThreeVector()) 
 {
@@ -20,6 +21,7 @@ AliMagneticField::AliMagneticField()
   GetGlobalFieldManager()->CreateChordFinder(this);
 }
 
+//_____________________________________________________________________________
 AliMagneticField::AliMagneticField(G4ThreeVector fieldVector)
   : G4UniformMagField(fieldVector)
 {    
@@ -28,6 +30,7 @@ AliMagneticField::AliMagneticField(G4ThreeVector fieldVector)
   GetGlobalFieldManager()->CreateChordFinder(this);
 }
 
+//_____________________________________________________________________________
 AliMagneticField::AliMagneticField(const AliMagneticField& right)
   : G4UniformMagField(right)
 {
@@ -36,12 +39,14 @@ AliMagneticField::AliMagneticField(const AliMagneticField& right)
   GetGlobalFieldManager()->CreateChordFinder(this);
 }
 
+//_____________________________________________________________________________
 AliMagneticField::~AliMagneticField() {
 //
 }
 
 // operators
 
+//_____________________________________________________________________________
 AliMagneticField& 
 AliMagneticField::operator=(const AliMagneticField& right)
 {                                
@@ -56,6 +61,7 @@ AliMagneticField::operator=(const AliMagneticField& right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliMagneticField::SetFieldValue(G4double fieldValue)
 {
 // Sets the value of the Global Field to fieldValue along Z.
@@ -64,6 +70,7 @@ void AliMagneticField::SetFieldValue(G4double fieldValue)
   G4UniformMagField::SetFieldValue(G4ThreeVector(0,0,fieldValue));
 }
 
+//_____________________________________________________________________________
 void AliMagneticField::SetFieldValue(G4ThreeVector fieldVector)
 {
 // Sets the value of the Global Field.
@@ -84,9 +91,10 @@ void AliMagneticField::SetFieldValue(G4ThreeVector fieldVector)
   }
 }
 
+//_____________________________________________________________________________
 G4FieldManager*  AliMagneticField::GetGlobalFieldManager()
 {
-// Utility method/
+// Utility method
 // ---
 
   return G4TransportationManager::GetTransportationManager()
index 77542d56cc59829df42d98f08f3aad3cdb2a9109..88ef3af144321151b7be73f842ffe7d6734f0613 100644 (file)
@@ -18,6 +18,7 @@
 #include <G4LogicalVolumeStore.hh>
 #include <G4LogicalVolume.hh>
 
+//_____________________________________________________________________________
 AliModuleConstruction::AliModuleConstruction(G4String moduleName) 
   : fModuleName(moduleName), 
     fModuleFrameName(moduleName),
@@ -32,6 +33,7 @@ AliModuleConstruction::AliModuleConstruction(G4String moduleName)
   fMessenger = new AliModuleConstructionMessenger(this, moduleName);
 }
 
+//_____________________________________________________________________________
 AliModuleConstruction::AliModuleConstruction(const AliModuleConstruction& right)
 {
 //
@@ -42,6 +44,7 @@ AliModuleConstruction::AliModuleConstruction(const AliModuleConstruction& right)
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliModuleConstruction::AliModuleConstruction()
   : fModuleName(""), 
     fModuleFrameName(""),
@@ -55,6 +58,7 @@ AliModuleConstruction::AliModuleConstruction()
 //
 }
 
+//_____________________________________________________________________________
 AliModuleConstruction::~AliModuleConstruction()
 {
 //
@@ -64,6 +68,7 @@ AliModuleConstruction::~AliModuleConstruction()
 
 // operators
 
+//_____________________________________________________________________________
 AliModuleConstruction& 
 AliModuleConstruction::operator=(const AliModuleConstruction& right)
 {    
@@ -87,6 +92,7 @@ AliModuleConstruction::operator=(const AliModuleConstruction& right)
   return *this;
 }
 
+//_____________________________________________________________________________
 G4int 
 AliModuleConstruction::operator==(const AliModuleConstruction& right) const
 {
@@ -94,6 +100,7 @@ AliModuleConstruction::operator==(const AliModuleConstruction& right) const
   return 0;
 }
 
+//_____________________________________________________________________________
 G4int 
 AliModuleConstruction::operator!=(const AliModuleConstruction& right) const
 {
@@ -106,6 +113,7 @@ AliModuleConstruction::operator!=(const AliModuleConstruction& right) const
 
 // protected methods
 
+//_____________________________________________________________________________
 void AliModuleConstruction::RegisterLogicalVolume(G4LogicalVolume* lv,
        G4String path, AliLVStructure& lvStructure)
 {
@@ -133,6 +141,7 @@ void AliModuleConstruction::RegisterLogicalVolume(G4LogicalVolume* lv,
 
 // public methods
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetDetFrame(G4bool warn)
 { 
 // The logical volume with name identical with
@@ -148,6 +157,7 @@ void AliModuleConstruction::SetDetFrame(G4bool warn)
   }  
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetDetFrame(G4String frameName, G4bool warn)
 { 
 // The logical volume with frameName
@@ -158,6 +168,7 @@ void AliModuleConstruction::SetDetFrame(G4String frameName, G4bool warn)
   SetDetFrame(warn);
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::ListAllLVTree()
 {
 // Lists all logical volumes tree if the frame logical volume 
@@ -173,6 +184,7 @@ void AliModuleConstruction::ListAllLVTree()
   }   
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::ListAllLVTreeLong()
 {
 // Lists all logical volume tree if the frame logical volume 
@@ -188,6 +200,7 @@ void AliModuleConstruction::ListAllLVTreeLong()
   }  
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::ListLVTree(G4String lvName)
 {
 // Lists logical volumes tree (daughters) of the logical volume 
@@ -204,6 +217,7 @@ void AliModuleConstruction::ListLVTree(G4String lvName)
   }
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::ListLVTreeLong(G4String lvName)
 {
 // Lists logical volumes tree (daughters) of the logical volume 
@@ -219,6 +233,7 @@ void AliModuleConstruction::ListLVTreeLong(G4String lvName)
   }
 }
 
+//_____________________________________________________________________________
 G4LogicalVolume* AliModuleConstruction::FindLogicalVolume(
                                           G4String name, G4bool silent) const
 {
@@ -243,6 +258,7 @@ G4LogicalVolume* AliModuleConstruction::FindLogicalVolume(
 
 #ifdef ALICE_VISUALIZE
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetDetVisibility(G4bool visibility)
 {
 // Sets visibility to all detector logical volumes if
@@ -259,6 +275,7 @@ void AliModuleConstruction::SetDetVisibility(G4bool visibility)
 }
 
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetLVTreeVisibility(G4LogicalVolume* lv, 
                              G4bool visibility)
 { 
@@ -274,6 +291,7 @@ void AliModuleConstruction::SetLVTreeVisibility(G4LogicalVolume* lv,
   }
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetVolumeVisibility(G4LogicalVolume* lv, 
                              G4bool visibility)
 { 
@@ -297,6 +315,7 @@ void AliModuleConstruction::SetVolumeVisibility(G4LogicalVolume* lv,
   }
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetDetColour(G4String colName)
 {
 // Sets colour to all detector logical volumes if
@@ -312,6 +331,7 @@ void AliModuleConstruction::SetDetColour(G4String colName)
   }  
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetLVTreeColour(G4LogicalVolume* lv, 
                              G4String colName)
 { 
@@ -328,6 +348,7 @@ void AliModuleConstruction::SetLVTreeColour(G4LogicalVolume* lv,
   }
 }
 
+//_____________________________________________________________________________
 void AliModuleConstruction::SetVolumeColour(G4LogicalVolume* lv,
                              G4String colName)
 {
index 97d3a788b1f0a5c7f9f8b7bd57ea4bb503b8f523..204935e55245f2224905e0622164dc9c76214b84 100644 (file)
@@ -15,6 +15,7 @@
 #include <G4UIcmdWithAString.hh>
 #include <G4UIcmdWithoutParameter.hh>
 
+//_____________________________________________________________________________
 AliModuleConstructionMessenger::AliModuleConstructionMessenger(
    AliModuleConstruction* moduleConstruction, G4String moduleName)
  : fModuleConstruction(moduleConstruction)
@@ -128,10 +129,12 @@ AliModuleConstructionMessenger::AliModuleConstructionMessenger(
 #endif //ALICE_VISUALIZE
 }
 
+//_____________________________________________________________________________
 AliModuleConstructionMessenger::AliModuleConstructionMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliModuleConstructionMessenger::AliModuleConstructionMessenger(
                                 const AliModuleConstructionMessenger& right)
 {
@@ -140,6 +143,7 @@ AliModuleConstructionMessenger::AliModuleConstructionMessenger(
     "AliModuleConstructionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliModuleConstructionMessenger::~AliModuleConstructionMessenger()
 {
 //
@@ -162,6 +166,7 @@ AliModuleConstructionMessenger::~AliModuleConstructionMessenger()
 
 // operators
 
+//_____________________________________________________________________________
 AliModuleConstructionMessenger& 
 AliModuleConstructionMessenger::operator=(
                                 const AliModuleConstructionMessenger& right)
@@ -177,6 +182,7 @@ AliModuleConstructionMessenger::operator=(
           
 // public methods
   
+//_____________________________________________________________________________
 void AliModuleConstructionMessenger::SetNewValue(G4UIcommand* command,
                                                  G4String newValues)
 {
index b3fd5b57e6d2a74efef53efebca1519b8451076a..aef5d3637dbedb7ffda087d42b184926591b9464 100644 (file)
 #include <G4PrimaryVertex.hh>
 #include <G4Event.hh>
 
+//_____________________________________________________________________________
 AliParticleGun::AliParticleGun() {
 //
   fMessenger = new AliParticleGunMessenger(this);
 }
 
+//_____________________________________________________________________________
 AliParticleGun::AliParticleGun(const AliParticleGun& right)
   : G4VPrimaryGenerator(right)
 {
@@ -28,6 +30,7 @@ AliParticleGun::AliParticleGun(const AliParticleGun& right)
   *this = right;
 }
 
+//_____________________________________________________________________________
 AliParticleGun::~AliParticleGun() {
 //
   fGunParticlesVector.clearAndDestroy();
@@ -36,6 +39,7 @@ AliParticleGun::~AliParticleGun() {
 
 // operators
 
+//_____________________________________________________________________________
 AliParticleGun& AliParticleGun::operator=(const AliParticleGun& right)
 {
   // check assignement to self
@@ -57,6 +61,7 @@ AliParticleGun& AliParticleGun::operator=(const AliParticleGun& right)
   
 // public methods
 
+//_____________________________________________________________________________
 void AliParticleGun::AddParticle(AliGunParticle* particle)
 { 
 // Adds particle.
@@ -65,6 +70,7 @@ void AliParticleGun::AddParticle(AliGunParticle* particle)
   fGunParticlesVector.insert(particle); 
 }
 
+//_____________________________________________________________________________
 void AliParticleGun::RemoveParticle(G4int iParticle)
 { 
 // Removes particle.
@@ -75,6 +81,7 @@ void AliParticleGun::RemoveParticle(G4int iParticle)
   delete particle;  
 }
 
+//_____________________________________________________________________________
 void AliParticleGun::GeneratePrimaryVertex(G4Event* event)
 {
 // Generates primary vertices.
@@ -143,6 +150,7 @@ void AliParticleGun::GeneratePrimaryVertex(G4Event* event)
          << "   " << nofGunParticles << " of primary particles " << G4endl;  
 }
 
+//_____________________________________________________________________________
 void AliParticleGun::Reset()
 { 
 // Resets the particle gun.
@@ -151,6 +159,7 @@ void AliParticleGun::Reset()
   fGunParticlesVector.clearAndDestroy(); 
 }
 
+//_____________________________________________________________________________
 void AliParticleGun::List()
 {
 // Lists the particle gun.
index 90489302ecbaeb90f702c8bad2629c7a7bd44529..606fc4076368b793850dc31ffc30bb364177d956 100644 (file)
@@ -19,6 +19,7 @@
 #include <G4UIcmdWith3Vector.hh>
 #include <G4UIcmdWith3VectorAndUnit.hh>
 
+//_____________________________________________________________________________
 AliParticleGunMessenger::AliParticleGunMessenger(AliParticleGun* gun)
   :fGun(gun)
 {
@@ -140,16 +141,19 @@ AliParticleGunMessenger::AliParticleGunMessenger(AliParticleGun* gun)
   fParticle->SetPolarization(G4ThreeVector(0.0*cm, 0.0*cm, 0.0*cm));
 }
 
+//_____________________________________________________________________________
 AliParticleGunMessenger::AliParticleGunMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliParticleGunMessenger::AliParticleGunMessenger(
                                  const AliParticleGunMessenger& right) {
 //                              
   AliGlobals::Exception("AliParticleGunMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliParticleGunMessenger::~AliParticleGunMessenger() {
 //
   delete fListAvailableCmd;
@@ -183,6 +187,7 @@ AliParticleGunMessenger::operator=(const AliParticleGunMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliParticleGunMessenger::SetNewValue(G4UIcommand * command, 
        G4String newValues)
 {
@@ -252,6 +257,7 @@ void AliParticleGunMessenger::SetNewValue(G4UIcommand * command,
   }
 }
 
+//_____________________________________________________________________________
 G4String AliParticleGunMessenger::GetCurrentValue(G4UIcommand * command)
 {
 // Returns current command parameters as string.
index ddf838b53c943694cc8145d3eab0a0b942e388ad..0d31b453d384b9e7461037435d223c2cd12c05cd 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <TParticle.h>
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorAction::AliPrimaryGeneratorAction()
   : fGenerator(kAliGenerator),
     fNofGunParticles(1),
@@ -32,6 +33,7 @@ AliPrimaryGeneratorAction::AliPrimaryGeneratorAction()
   fMessenger = new AliPrimaryGeneratorMessenger(this);
 }
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorAction::AliPrimaryGeneratorAction(
                                     const AliPrimaryGeneratorAction& right) {
 //                                 
@@ -39,6 +41,7 @@ AliPrimaryGeneratorAction::AliPrimaryGeneratorAction(
     "AliPrimaryGeneratorAction is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorAction::~AliPrimaryGeneratorAction() {
 //
   delete fMessenger;
@@ -47,6 +50,7 @@ AliPrimaryGeneratorAction::~AliPrimaryGeneratorAction() {
 
 // operators
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorAction& 
 AliPrimaryGeneratorAction::operator=(const AliPrimaryGeneratorAction &right)
 {
@@ -61,6 +65,7 @@ AliPrimaryGeneratorAction::operator=(const AliPrimaryGeneratorAction &right)
 
 // private methods
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::ConstructGenerator()
 {
 // Constructs selected generator.
@@ -82,6 +87,7 @@ void AliPrimaryGeneratorAction::ConstructGenerator()
   }
 }   
       
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::ConstructGeantinoGenerator(G4bool isCharged)
 {
 // Geantino with random momentum direction
@@ -131,6 +137,7 @@ void AliPrimaryGeneratorAction::ConstructGeantinoGenerator(G4bool isCharged)
   }
 } 
             
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::ConstructAliGenerator()
 {
 // Generator from AliRoot
@@ -148,6 +155,7 @@ void AliPrimaryGeneratorAction::ConstructAliGenerator()
   generator->Generate();
 }
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::GenerateAliGeneratorPrimaries(G4Event* event)
 {
 // Creates a new G4PrimaryVertex objects for each TParticle
@@ -238,6 +246,7 @@ void AliPrimaryGeneratorAction::GenerateAliGeneratorPrimaries(G4Event* event)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::GeneratePrimaries(G4Event* event)
 {
 // Generates primary particles by the selected generator.
@@ -271,6 +280,7 @@ void AliPrimaryGeneratorAction::GeneratePrimaries(G4Event* event)
   }  
 }
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::SetGenerator(AliPrimaryGenerator generator)
 { 
 // Sets generator.
@@ -279,6 +289,7 @@ void AliPrimaryGeneratorAction::SetGenerator(AliPrimaryGenerator generator)
   fGenerator = generator; 
 }
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorAction::SetNofGunParticles(G4int nofParticles)
 { 
 // Sets number of primary particles.
@@ -288,9 +299,3 @@ void AliPrimaryGeneratorAction::SetNofGunParticles(G4int nofParticles)
 
   fNofGunParticles = nofParticles;
 }
-
-
-
-
-
-
index 2784c54a65e8a89f13ae5b8fa2ade94a21a50401..94bf55396b162dadb51a2bd0bbe4d820ba4e9f38 100644 (file)
@@ -11,6 +11,7 @@
 #include <G4UIcmdWithAString.hh>
 #include <G4UIcmdWithAnInteger.hh>
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorMessenger::AliPrimaryGeneratorMessenger(
   AliPrimaryGeneratorAction* primaryGenAction)
   : fPrimaryGenAction(primaryGenAction)
@@ -47,10 +48,12 @@ AliPrimaryGeneratorMessenger::AliPrimaryGeneratorMessenger(
   fVerboseCmd->AvailableForStates(Idle);
 }
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorMessenger::AliPrimaryGeneratorMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorMessenger::AliPrimaryGeneratorMessenger(
                                  const AliPrimaryGeneratorMessenger& right) {
 //                              
@@ -58,6 +61,7 @@ AliPrimaryGeneratorMessenger::AliPrimaryGeneratorMessenger(
     "AliPrimaryGeneratorMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorMessenger::~AliPrimaryGeneratorMessenger() {
 //
   delete fPrimariesDirectory;
@@ -68,6 +72,7 @@ AliPrimaryGeneratorMessenger::~AliPrimaryGeneratorMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliPrimaryGeneratorMessenger& 
 AliPrimaryGeneratorMessenger::operator=(
                                 const AliPrimaryGeneratorMessenger &right)
@@ -83,6 +88,7 @@ AliPrimaryGeneratorMessenger::operator=(
 
 // public methods
 
+//_____________________________________________________________________________
 void AliPrimaryGeneratorMessenger::SetNewValue(G4UIcommand * command,
        G4String newValue)
 { 
index 1ab3d2ac5aeb099992f4344e936002880a9e1ba6..1431a7d52f8b7fce48a47abc36f3f76c633c697a 100644 (file)
@@ -10,6 +10,7 @@
 #include <G4UIdirectory.hh>
 #include <G4UIcmdWithAnInteger.hh>
 
+//_____________________________________________________________________________
 AliRunActionMessenger::AliRunActionMessenger(AliRunAction* runAction)
   : fRunAction(runAction)
 {
@@ -25,16 +26,19 @@ AliRunActionMessenger::AliRunActionMessenger(AliRunAction* runAction)
   fVerboseCmd->AvailableForStates(PreInit, Init, Idle, GeomClosed, EventProc);
 }
 
+//_____________________________________________________________________________
 AliRunActionMessenger::AliRunActionMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliRunActionMessenger::AliRunActionMessenger(const AliRunActionMessenger& right)
 {
 //
   AliGlobals::Exception("AliRunActionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliRunActionMessenger::~AliRunActionMessenger() {
 //
   delete fRunActionDirectory;
@@ -43,6 +47,7 @@ AliRunActionMessenger::~AliRunActionMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliRunActionMessenger& 
 AliRunActionMessenger::operator=(const AliRunActionMessenger &right)
 {
@@ -56,6 +61,7 @@ AliRunActionMessenger::operator=(const AliRunActionMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliRunActionMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 { 
index b5a82ce47b1bc4a6249eb57beadf007637db6aca..c92f70036363070857d1ffa9c5231d5ed7804ebb 100644 (file)
@@ -13,7 +13,7 @@
 #include <G4UIcmdWithoutParameter.hh>
 #include <G4UIcmdWithAString.hh>
 
-
+//_____________________________________________________________________________
 AliRunMessenger::AliRunMessenger()
 {
 // 
@@ -42,11 +42,13 @@ AliRunMessenger::AliRunMessenger()
   fLegoCmd->AvailableForStates(Idle);
 }
 
+//_____________________________________________________________________________
 AliRunMessenger::AliRunMessenger(const AliRunMessenger& right) {
 //
   AliGlobals::Exception("AliRunMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliRunMessenger::~AliRunMessenger() {
 //
   delete fRunDirectory;
@@ -58,6 +60,7 @@ AliRunMessenger::~AliRunMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliRunMessenger& AliRunMessenger::operator=(const AliRunMessenger &right)
 {
   // check assignement to self
@@ -70,6 +73,7 @@ AliRunMessenger& AliRunMessenger::operator=(const AliRunMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliRunMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 { 
index 3f43acbda6399ebf9d54e6cf719866a845aa31aa..c2c188138eb6e103a0cc6fe7c552529f474239a7 100644 (file)
@@ -19,6 +19,7 @@
 
 AliSDManager* AliSDManager::fgInstance = 0;
 
+//_____________________________________________________________________________
 AliSDManager* AliSDManager::Instance()
 {
 // Returns the singleton instance.
@@ -30,6 +31,7 @@ AliSDManager* AliSDManager::Instance()
   return fgInstance;
 }  
     
+//_____________________________________________________________________________
 AliSDManager::AliSDManager()
   : fNofLVWithSD(0)
 {
@@ -38,12 +40,14 @@ AliSDManager::AliSDManager()
   fgInstance = this;
 }
 
+//_____________________________________________________________________________
 AliSDManager::AliSDManager(const AliSDManager& right) {
 //
   AliGlobals::Exception(
     "Singleton AliSDManager is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliSDManager::~AliSDManager()
 {
   //delete fMessenger;
@@ -51,6 +55,7 @@ AliSDManager::~AliSDManager()
 
 // operators
 
+//_____________________________________________________________________________
 AliSDManager& AliSDManager::operator=(const AliSDManager& right)
 {
   // check assignement to self
@@ -64,6 +69,7 @@ AliSDManager& AliSDManager::operator=(const AliSDManager& right)
           
 // private methods
 
+//_____________________________________________________________________________
 void AliSDManager::CreateLegoSD(G4LogicalVolume* lv, AliLego* lego) const
 { 
 // Replaces the existing sensitive detector of the logical volume
@@ -98,6 +104,7 @@ void AliSDManager::CreateLegoSD(G4LogicalVolume* lv, AliLego* lego) const
   lv->SetSensitiveDetector(legoVSD);        
 }
 
+//_____________________________________________________________________________
 void AliSDManager::UnsetLegoSD(G4LogicalVolume* lv) const
 { 
 // Replace the lego sensitive detector of the logical volume
@@ -129,6 +136,7 @@ void AliSDManager::UnsetLegoSD(G4LogicalVolume* lv) const
 
 // public methods
 
+//_____________________________________________________________________________
 void AliSDManager::CreateSD(G4LogicalVolume* lv, AliModule* module) const
 { 
 // Creates/retrieves a sensitive detector for the logical volume.
@@ -160,6 +168,7 @@ void AliSDManager::CreateSD(G4LogicalVolume* lv, AliModule* module) const
   lv->SetSensitiveDetector(sd);             
 }
 
+//_____________________________________________________________________________
 AliModule* AliSDManager::FindAliModule(G4LogicalVolume* lv) const
 {
 // Finds the module containing specified logical volume.
@@ -188,6 +197,7 @@ AliModule* AliSDManager::FindAliModule(G4LogicalVolume* lv) const
   return module;
 }  
 
+//_____________________________________________________________________________
 void AliSDManager::SetLego(AliLego* lego) const 
 { 
 // Replaces the existing sensitive detectors 
@@ -210,6 +220,7 @@ void AliSDManager::SetLego(AliLego* lego) const
   }
 }
 
+//_____________________________________________________________________________
 void AliSDManager::UnsetLego() const
 {
 // Replace the lego sensitive detectors 
index c7d47c03f16897cb714124598447a30671c24414..434641f7a56493661d2ffa108ba31dcfdcb90760 100644 (file)
@@ -19,6 +19,7 @@
 #include <G4AntiNeutrinoMu.hh>
 #include <G4AntiNeutrinoTau.hh>
 
+//_____________________________________________________________________________
 AliStackingAction::AliStackingAction()
   : fStage(0), 
     fVerboseLevel(0),
@@ -30,11 +31,13 @@ AliStackingAction::AliStackingAction()
   fMessenger = new AliStackingActionMessenger(this);
 }
 
+//_____________________________________________________________________________
 AliStackingAction::AliStackingAction(const AliStackingAction& right) {
 //
   AliGlobals::Exception("AliStackingAction is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliStackingAction::~AliStackingAction() {
 // 
   delete fPrimaryStack;
@@ -43,6 +46,7 @@ AliStackingAction::~AliStackingAction() {
 
 // operators
 
+//_____________________________________________________________________________
 AliStackingAction& 
 AliStackingAction::operator=(const AliStackingAction &right)
 {
@@ -56,6 +60,7 @@ AliStackingAction::operator=(const AliStackingAction &right)
 
 // public methods
 
+//_____________________________________________________________________________
 G4ClassificationOfNewTrack 
 AliStackingAction::ClassifyNewTrack(const G4Track* track)
 {
@@ -100,6 +105,7 @@ AliStackingAction::ClassifyNewTrack(const G4Track* track)
   return classification;
 }
 
+//_____________________________________________________________________________
 void AliStackingAction::NewStage()
 {
 // Called by G4 kernel at the new stage of stacking.
@@ -128,6 +134,7 @@ void AliStackingAction::NewStage()
   }
 }
     
+//_____________________________________________________________________________
 void AliStackingAction::PrepareNewEvent()
 {
 // Called by G4 kernel at the beginning of event.
index 1639eb1babdf6cc9a7723848c6aecebc118e476c..ed98ced9f1494804c1110cfaf8a967a2c5b10440 100644 (file)
@@ -11,6 +11,7 @@
 #include <G4UIcmdWithAnInteger.hh>
 #include <G4UIcmdWithoutParameter.hh>
 
+//_____________________________________________________________________________
 AliStackingActionMessenger::AliStackingActionMessenger(
                               AliStackingAction* stackingAction)
   :fStackingAction(stackingAction)
@@ -27,16 +28,19 @@ AliStackingActionMessenger::AliStackingActionMessenger(
   fVerboseCmd->AvailableForStates(Idle);
 }
 
+//_____________________________________________________________________________
 AliStackingActionMessenger::AliStackingActionMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliStackingActionMessenger::AliStackingActionMessenger(
                                  const AliStackingActionMessenger& right) {
 //                              
   AliGlobals::Exception("AliStackingActionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliStackingActionMessenger::~AliStackingActionMessenger() {
 //
   delete fStackingDirectory;
@@ -45,6 +49,7 @@ AliStackingActionMessenger::~AliStackingActionMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliStackingActionMessenger& 
 AliStackingActionMessenger::operator=(const AliStackingActionMessenger &right)
 {
@@ -59,6 +64,7 @@ AliStackingActionMessenger::operator=(const AliStackingActionMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliStackingActionMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 { 
index 774fffae1143685d94da4a6aac22f44640f72545..2d4f3330f595a64e0bd823eb9d2e585a542c64bc 100644 (file)
@@ -12,6 +12,7 @@
 
 const G4double AliSteppingAction::fgkTolerance = 1e-6*mm;
 
+//_____________________________________________________________________________
 AliSteppingAction::AliSteppingAction()
   : fKeptStepPoint(G4ThreeVector())
 {
@@ -19,11 +20,13 @@ AliSteppingAction::AliSteppingAction()
   fMessenger = new AliSteppingActionMessenger(this);
 }
 
+//_____________________________________________________________________________
 AliSteppingAction::AliSteppingAction(const AliSteppingAction& right) {
 //
   AliGlobals::Exception("AliSteppingAction is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliSteppingAction::~AliSteppingAction() {
 //
   delete fMessenger;
@@ -31,6 +34,7 @@ AliSteppingAction::~AliSteppingAction() {
 
 // operators
 
+//_____________________________________________________________________________
 AliSteppingAction& 
 AliSteppingAction::operator=(const AliSteppingAction &right)
 {
@@ -44,6 +48,7 @@ AliSteppingAction::operator=(const AliSteppingAction &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliSteppingAction::SteppingAction(const G4Step* step)
 {
 // After processing the given number of steps (kCheckNofSteps)
index 249c83ac40b362bcdef50db28a9875ebf5929ba0..409349bf4cd93c60366852593cc39f8ae61a49cd 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <G4UIcmdWithAnInteger.hh>
 
+//_____________________________________________________________________________
 AliSteppingActionMessenger::AliSteppingActionMessenger(
                               AliSteppingAction* trackingAction)
   :fSteppingAction(trackingAction)
@@ -30,10 +31,12 @@ AliSteppingActionMessenger::AliSteppingActionMessenger(
   fMaxNofStepsCmd->AvailableForStates(Idle);
 }
 
+//_____________________________________________________________________________
 AliSteppingActionMessenger::AliSteppingActionMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliSteppingActionMessenger::AliSteppingActionMessenger(
                                  const AliSteppingActionMessenger& right) {
 //                              
@@ -41,6 +44,7 @@ AliSteppingActionMessenger::AliSteppingActionMessenger(
     "AliSteppingActionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliSteppingActionMessenger::~AliSteppingActionMessenger() {
 //
   delete fLoopVerboseCmd;
@@ -49,6 +53,7 @@ AliSteppingActionMessenger::~AliSteppingActionMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliSteppingActionMessenger& 
 AliSteppingActionMessenger::operator=(const AliSteppingActionMessenger &right)
 {
@@ -63,6 +68,7 @@ AliSteppingActionMessenger::operator=(const AliSteppingActionMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliSteppingActionMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 { 
index baf719d175d4f4359751a0593e9d985f1d6e2c0c..50a816359ad5bfbb03aeec6127d4ae0a8d460a90 100644 (file)
@@ -7,6 +7,7 @@
 
 G4Allocator<AliTrackInformation> gAliTrackInfoAllocator;
 
+//_____________________________________________________________________________
 AliTrackInformation::AliTrackInformation()
   : G4VUserTrackInformation(),
     fTrackParticleID(-1),
@@ -15,6 +16,7 @@ AliTrackInformation::AliTrackInformation()
 //
 }
 
+//_____________________________________________________________________________
 AliTrackInformation::AliTrackInformation(G4int trackParticleID) 
   : G4VUserTrackInformation(),
     fTrackParticleID(trackParticleID),
@@ -23,6 +25,7 @@ AliTrackInformation::AliTrackInformation(G4int trackParticleID)
 //
 }    
 
+//_____________________________________________________________________________
 AliTrackInformation::AliTrackInformation(G4int trackParticleID, 
                                          G4int parentParticleID)
   : G4VUserTrackInformation(),
@@ -32,12 +35,14 @@ AliTrackInformation::AliTrackInformation(G4int trackParticleID,
 //
 }    
 
+//_____________________________________________________________________________
 AliTrackInformation::~AliTrackInformation(){
 //
 }    
 
 // public methods
 
+//_____________________________________________________________________________
 void AliTrackInformation::Print() const
 {
 // Prints track information.
index 0fc1753f86b46bf2949ecfa96955a26a8ba21a95..57d47e17f959f90ac307a36bee76a057e0a9ea88 100644 (file)
 #include <G4VUserTrackInformation.hh>
 #include <G4TrackingManager.hh>
 #include <G4SteppingManager.hh>
+#include <G4UImanager.hh>
 
 // static data members
 AliTrackingAction* AliTrackingAction::fgInstance = 0;
 
+//_____________________________________________________________________________
 AliTrackingAction::AliTrackingAction()
   : fPrimaryTrackID(0),
     fVerboseLevel(2),
@@ -37,11 +39,13 @@ AliTrackingAction::AliTrackingAction()
   fgInstance = this;
 }
 
+//_____________________________________________________________________________
 AliTrackingAction::AliTrackingAction(const AliTrackingAction& right) {
 //
   AliGlobals::Exception("AliTrackingAction is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliTrackingAction::~AliTrackingAction() {
 //
   delete fMessenger;
@@ -49,6 +53,7 @@ AliTrackingAction::~AliTrackingAction() {
 
 // operators
 
+//_____________________________________________________________________________
 AliTrackingAction& 
 AliTrackingAction::operator=(const AliTrackingAction &right)
 {
@@ -62,6 +67,7 @@ AliTrackingAction::operator=(const AliTrackingAction &right)
 
 // private methods
 
+//_____________________________________________________________________________
 AliTrackInformation* AliTrackingAction::GetTrackInformation(
                                            const G4Track* track,
                                            const G4String& method) const
@@ -85,6 +91,7 @@ AliTrackInformation* AliTrackingAction::GetTrackInformation(
   
 // public methods
 
+//_____________________________________________________________________________
 void AliTrackingAction::PrepareNewEvent()
 {
 // Called by G4 kernel at the beginning of event.
@@ -97,7 +104,7 @@ void AliTrackingAction::PrepareNewEvent()
   stepManager->SetSteppingManager(fpTrackingManager->GetSteppingManager());
 }
 
-#include <G4UImanager.hh>
+//_____________________________________________________________________________
 void AliTrackingAction::PreTrackingAction(const G4Track* aTrack)
 {
 // Called by G4 kernel before starting tracking.
@@ -156,6 +163,7 @@ void AliTrackingAction::PreTrackingAction(const G4Track* aTrack)
   gAlice->PreTrack();
 }
 
+//_____________________________________________________________________________
 void AliTrackingAction::PostTrackingAction(const G4Track* aTrack)
 {
 // Called by G4 kernel after finishing tracking.
@@ -197,6 +205,7 @@ void AliTrackingAction::PostTrackingAction(const G4Track* aTrack)
   gAlice->PostTrack();
 }
 
+//_____________________________________________________________________________
 void AliTrackingAction::FinishPrimaryTrack()
 {
 // Calls AliRun::PurifyKine and fills trees of hits
@@ -224,6 +233,7 @@ void AliTrackingAction::FinishPrimaryTrack()
   fPrimaryTrackID = 0;
 }  
 
+//_____________________________________________________________________________
 void AliTrackingAction::SaveTrack(const G4Track* track)
 {
 // Get all needed parameters from G4track and pass them
@@ -291,6 +301,7 @@ void AliTrackingAction::SaveTrack(const G4Track* track)
                    
 }
 
+//_____________________________________________________________________________
 void AliTrackingAction::SetNewVerboseLevel(G4int level)
 { 
 // Set the new verbose level that will be set when the track with 
@@ -300,6 +311,7 @@ void AliTrackingAction::SetNewVerboseLevel(G4int level)
   fNewVerboseLevel = level;  
 }
 
+//_____________________________________________________________________________
 void AliTrackingAction::SetNewVerboseTrackID(G4int trackID)
 { 
 // Set the trackID for which the new verbose level (fNewVerboseLevel)
index 9f7bddb8429d0b05c43b47550daab2ca532a91a3..9ba62db40fd0cf9d99d04b97e806ddb64f3da27a 100644 (file)
@@ -10,6 +10,7 @@
 #include <G4UIdirectory.hh>
 #include <G4UIcmdWithAnInteger.hh>
 
+//_____________________________________________________________________________
 AliTrackingActionMessenger::AliTrackingActionMessenger(
                               AliTrackingAction* trackingAction)
   :fTrackingAction(trackingAction)
@@ -41,10 +42,12 @@ AliTrackingActionMessenger::AliTrackingActionMessenger(
   fNewVerboseTrackCmd->AvailableForStates(PreInit, Init, Idle);
 }
 
+//_____________________________________________________________________________
 AliTrackingActionMessenger::AliTrackingActionMessenger() {
 //
 }
 
+//_____________________________________________________________________________
 AliTrackingActionMessenger::AliTrackingActionMessenger(
                                  const AliTrackingActionMessenger& right) {
 //                              
@@ -52,6 +55,7 @@ AliTrackingActionMessenger::AliTrackingActionMessenger(
     "AliTrackingActionMessenger is protected from copying.");
 }
 
+//_____________________________________________________________________________
 AliTrackingActionMessenger::~AliTrackingActionMessenger() {
 //
   delete fTrackingDirectory;
@@ -62,6 +66,7 @@ AliTrackingActionMessenger::~AliTrackingActionMessenger() {
 
 // operators
 
+//_____________________________________________________________________________
 AliTrackingActionMessenger& 
 AliTrackingActionMessenger::operator=(const AliTrackingActionMessenger &right)
 {
@@ -76,6 +81,7 @@ AliTrackingActionMessenger::operator=(const AliTrackingActionMessenger &right)
 
 // public methods
 
+//_____________________________________________________________________________
 void AliTrackingActionMessenger::SetNewValue(G4UIcommand* command, 
        G4String newValue)
 {