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