]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4ModularPhysicsList.h
the fPhysicsList type changed to G4VModularPhysicsList*; method GetPhysicsList()...
[u/mrichter/AliRoot.git] / TGeant4 / TG4ModularPhysicsList.h
1 // $Id$
2 // Category: physics
3 //
4 // The modular physics list.
5 // Creates all standard particles.
6 // The physics processes have to be created
7 // using the G4VPhysicsCreator derived classes
8 // and registered to this physics list.
9 // Only G4Decay is created directly in this modular
10 // physics list.
11
12 #ifndef TG4_PHYSICS_LIST_H
13 #define TG4_PHYSICS_LIST_H
14
15 #include <G4VModularPhysicsList.hh>
16 #include <globals.hh>
17
18 class G4VProcess;
19
20 class TG4ModularPhysicsList: public G4VModularPhysicsList
21 {
22   public:
23     TG4ModularPhysicsList();
24     virtual ~TG4ModularPhysicsList();
25   
26     // methods
27     virtual void SetCuts();
28     void SetProcessActivation();
29     void PrintAllProcesses() const;
30     
31   protected:
32     // methods
33     virtual void ConstructParticle();
34     virtual void ConstructProcess();
35
36          // construct all particles in each category
37     void ConstructAllBosons();
38     void ConstructAllLeptons();
39     void ConstructAllMesons();
40     void ConstructAllBaryons();
41     void ConstructAllIons();
42     void ConstructAllShortLiveds();
43     
44         // construct general processes
45     void ConstructGeneral();    
46 };
47
48 #endif //TG4_MODULAR_PHYSICS_LIST_H
49