]>
Commit | Line | Data |
---|---|---|
f04eb3a5 | 1 | // $Id$ |
2 | // Category: physics | |
3 | // | |
e5967ab3 | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class TG4ModularPhysicsList | |
7 | // --------------------------- | |
f04eb3a5 | 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 | ||
890691b5 | 16 | #ifndef TG4_MODULAR_PHYSICS_LIST_H |
17 | #define TG4_MODULAR_PHYSICS_LIST_H | |
f04eb3a5 | 18 | |
19 | #include <G4VModularPhysicsList.hh> | |
20 | #include <globals.hh> | |
21 | ||
890691b5 | 22 | class TG4ExtDecayer; |
23 | ||
f04eb3a5 | 24 | class G4VProcess; |
25 | ||
26 | class TG4ModularPhysicsList: public G4VModularPhysicsList | |
27 | { | |
28 | public: | |
29 | TG4ModularPhysicsList(); | |
890691b5 | 30 | // --> protected |
31 | // TG4ModularPhysicsList(const TG4ModularPhysicsList& right); | |
f04eb3a5 | 32 | virtual ~TG4ModularPhysicsList(); |
33 | ||
34 | // methods | |
35 | virtual void SetCuts(); | |
36 | void SetProcessActivation(); | |
37 | void PrintAllProcesses() const; | |
38 | ||
39 | protected: | |
890691b5 | 40 | TG4ModularPhysicsList(const TG4ModularPhysicsList& right); |
41 | ||
42 | // operators | |
43 | TG4ModularPhysicsList& operator=(const TG4ModularPhysicsList& right); | |
44 | ||
f04eb3a5 | 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(); | |
890691b5 | 59 | |
60 | private: | |
e5967ab3 | 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 | |
98c988ce | 69 | TG4ExtDecayer* fExtDecayer; //external decayer |
f04eb3a5 | 70 | }; |
71 | ||
72 | #endif //TG4_MODULAR_PHYSICS_LIST_H | |
73 |