]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant4/TG4ModularPhysicsList.h
Enable creation of fast rec points for ITS, when input argument for ITS = 2.
[u/mrichter/AliRoot.git] / TGeant4 / TG4ModularPhysicsList.h
index 75d391ad91c74cfa22abbbbf22621b236283c272..bd9855dd05c083ed3dbb07c0d3563db1f311d6fe 100644 (file)
@@ -1,48 +1,55 @@
 // $Id$
 // Category: physics
 //
+// Author: I. Hrivnacova
+//
+// Class TG4ModularPhysicsList
+// ---------------------------
 // The modular physics list.
-// Creates all standard particles.
-// The physics processes have to be created
+// The physics processes and particles have to be created
 // using the G4VPhysicsCreator derived classes
 // and registered to this physics list.
-// Only G4Decay is created directly in this modular
-// physics list.
 
-#ifndef TG4_PHYSICS_LIST_H
-#define TG4_PHYSICS_LIST_H
+#ifndef TG4_MODULAR_PHYSICS_LIST_H
+#define TG4_MODULAR_PHYSICS_LIST_H
+
+#include "TG4Verbose.h"
 
 #include <G4VModularPhysicsList.hh>
 #include <globals.hh>
 
-class G4VProcess;
-
-class TG4ModularPhysicsList: public G4VModularPhysicsList
+class TG4ModularPhysicsList: public G4VModularPhysicsList,
+                             public TG4Verbose
 {
   public:
     TG4ModularPhysicsList();
+    // --> protected
+    // TG4ModularPhysicsList(const TG4ModularPhysicsList& right);
     virtual ~TG4ModularPhysicsList();
   
     // methods
     virtual void SetCuts();
     void SetProcessActivation();
     void PrintAllProcesses() const;
+    void DumpAllProcesses() const;
     
   protected:
+    TG4ModularPhysicsList(const TG4ModularPhysicsList& right);
+
+    // operators
+    TG4ModularPhysicsList& operator=(const TG4ModularPhysicsList& right);
+
     // methods
     virtual void ConstructParticle();
     virtual void ConstructProcess();
 
-         // construct all particles in each category
-    void ConstructAllBosons();
-    void ConstructAllLeptons();
-    void ConstructAllMesons();
-    void ConstructAllBaryons();
-    void ConstructAllIons();
-    void ConstructAllShortLiveds();
-    
-        // construct general processes
-    void ConstructGeneral();   
+  private:
+    // methods
+    void SetProcessActivation(G4ProcessManager* processManager,
+                              G4int processId, G4bool activation);
+
+    // static data members
+    static const G4double  fgkDefaultCutValue; //default cut value
 };
 
 #endif //TG4_MODULAR_PHYSICS_LIST_H