]>
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. |
76df1db0 | 9 | // The physics processes and particles have to be created |
f04eb3a5 | 10 | // using the G4VPhysicsCreator derived classes |
11 | // and registered to this physics list. | |
f04eb3a5 | 12 | |
890691b5 | 13 | #ifndef TG4_MODULAR_PHYSICS_LIST_H |
14 | #define TG4_MODULAR_PHYSICS_LIST_H | |
f04eb3a5 | 15 | |
5b6ecd36 | 16 | #include "TG4Verbose.h" |
17 | ||
f04eb3a5 | 18 | #include <G4VModularPhysicsList.hh> |
19 | #include <globals.hh> | |
20 | ||
5b6ecd36 | 21 | class TG4ModularPhysicsList: public G4VModularPhysicsList, |
22 | public TG4Verbose | |
f04eb3a5 | 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 |