]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4ModularPhysicsList.h
Updated class description: added class title, author;
[u/mrichter/AliRoot.git] / TGeant4 / TG4ModularPhysicsList.h
1 // $Id$
2 // Category: physics
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class TG4ModularPhysicsList
7 // ---------------------------
8 // The modular physics list.
9 // Creates all standard particles.
10 // The physics processes have to be created
11 // using the G4VPhysicsCreator derived classes
12 // and registered to this physics list.
13 // Only G4Decay is created directly in this modular
14 // physics list.
15
16 #ifndef TG4_MODULAR_PHYSICS_LIST_H
17 #define TG4_MODULAR_PHYSICS_LIST_H
18
19 #include <G4VModularPhysicsList.hh>
20 #include <globals.hh>
21
22 class TG4ExtDecayer;
23
24 class G4VProcess;
25
26 class TG4ModularPhysicsList: public G4VModularPhysicsList
27 {
28   public:
29     TG4ModularPhysicsList();
30     // --> protected
31     // TG4ModularPhysicsList(const TG4ModularPhysicsList& right);
32     virtual ~TG4ModularPhysicsList();
33   
34     // methods
35     virtual void SetCuts();
36     void SetProcessActivation();
37     void PrintAllProcesses() const;
38     
39   protected:
40     TG4ModularPhysicsList(const TG4ModularPhysicsList& right);
41
42     // operators
43     TG4ModularPhysicsList& operator=(const TG4ModularPhysicsList& right);
44
45     // methods
46     virtual void ConstructParticle();
47     virtual void ConstructProcess();
48
49          // construct all particles in each category
50     void ConstructAllBosons();
51     void ConstructAllLeptons();
52     void ConstructAllMesons();
53     void ConstructAllBaryons();
54     void ConstructAllIons();
55     void ConstructAllShortLiveds();
56     
57         // construct general processes
58     void ConstructGeneral();    
59
60   private:
61     // methods
62     void SetProcessActivation(G4ProcessManager* processManager,
63                               G4int processId, G4bool activation);
64
65     // static data members
66     static const G4bool  fgkDefaultCutValue;
67
68     // data members
69     TG4ExtDecayer*  fExtDecayer; //external decayer
70 };
71
72 #endif //TG4_MODULAR_PHYSICS_LIST_H
73