]>
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 | ||
f04eb3a5 | 22 | class TG4ModularPhysicsList: public G4VModularPhysicsList |
23 | { | |
24 | public: | |
25 | TG4ModularPhysicsList(); | |
890691b5 | 26 | // --> protected |
27 | // TG4ModularPhysicsList(const TG4ModularPhysicsList& right); | |
f04eb3a5 | 28 | virtual ~TG4ModularPhysicsList(); |
29 | ||
30 | // methods | |
31 | virtual void SetCuts(); | |
32 | void SetProcessActivation(); | |
33 | void PrintAllProcesses() const; | |
696e37fa | 34 | void DumpAllProcesses() const; |
f04eb3a5 | 35 | |
36 | protected: | |
890691b5 | 37 | TG4ModularPhysicsList(const TG4ModularPhysicsList& right); |
38 | ||
39 | // operators | |
40 | TG4ModularPhysicsList& operator=(const TG4ModularPhysicsList& right); | |
41 | ||
f04eb3a5 | 42 | // methods |
43 | virtual void ConstructParticle(); | |
44 | virtual void ConstructProcess(); | |
45 | ||
890691b5 | 46 | private: |
e5967ab3 | 47 | // methods |
48 | void SetProcessActivation(G4ProcessManager* processManager, | |
49 | G4int processId, G4bool activation); | |
50 | ||
51 | // static data members | |
cc364059 | 52 | static const G4double fgkDefaultCutValue; //default cut value |
f04eb3a5 | 53 | }; |
54 | ||
55 | #endif //TG4_MODULAR_PHYSICS_LIST_H | |
56 |