-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPhysicsList.hh
56 lines (38 loc) · 1.01 KB
/
PhysicsList.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef PhysicsList_h
#define PhysicsList_h 1
#include "G4VUserPhysicsList.hh"
class DetectorConstruction;
class PhysicsListMessenger;
class PhysicsList: public G4VUserPhysicsList
{
public:
PhysicsList( DetectorConstruction*);
virtual ~PhysicsList();
protected:
// Construct particle and physics
virtual void ConstructParticle();
virtual void ConstructProcess();
void SetCuts();
protected:
// these methods construct particles
void ConstructBosons();
void ConstructLeptons();
void ConstructMesons();
void ConstructBarions();
protected:
// these methods construct physics processes and register them
void ConstructGeneral();
void ConstructEM();
public:
void SetGammaCut(G4double);
void SetElectronCut(G4double);
void SetMaxStep(G4double);
public:
G4double fMaxChargedStep;
private:
G4double fCutForGamma;
G4double fCutForElectron;
DetectorConstruction* fDet;
PhysicsListMessenger* fPhysicsListMessenger;
};
#endif