BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
BesPhysicsList.cc
Go to the documentation of this file.
1
2#include "BesPhysicsList.hh"
3
4#include "globals.hh"
5#include "G4ParticleDefinition.hh"
6#include "G4ParticleWithCuts.hh"
7#include "G4ProcessManager.hh"
8#include "G4ProcessVector.hh"
9#include "G4ParticleTypes.hh"
10#include "G4ParticleTable.hh"
11
12#include "G4Material.hh"
13#include "G4MaterialTable.hh"
14#include "G4ios.hh"
15#include <iomanip>
16
17#include "BesGeneralPhysics.hh"
18#include "BesEMPhysics.hh"
19#include "BesMuonPhysics.hh"
20#include "BesHadronPhysics.hh"
21#include "BesIonPhysics.hh"
22
23BesPhysicsList::BesPhysicsList(): G4VModularPhysicsList()
24{
25 // default cut value (1.0mm)
26 defaultCutValue = 1.0*mm;
27 // SetVerboseLevel(1);
28
29 // General Physics
30 RegisterPhysics( new BesGeneralPhysics("general") );
31
32 // EM Physics
33 RegisterPhysics( new BesEMPhysics("standard EM"));
34
35 // Muon Physics
36 RegisterPhysics( new BesMuonPhysics("muon"));
37
38 // Hadron Physics
39 RegisterPhysics( new BesHadronPhysics("hadron"));
40
41 // Ion Physics
42 RegisterPhysics( new BesIonPhysics("ion"));
43
44
45}
46
48{
49}
50
52{
53 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
54 // the default cut value for all particle types
55 SetCutsWithDefault();
56}
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
virtual ~BesPhysicsList()
virtual void SetCuts()