BOSS 7.1.0
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"
22using namespace CLHEP;
23
24BesPhysicsList::BesPhysicsList(): G4VModularPhysicsList()
25{
26 // default cut value (1.0mm)
27 defaultCutValue = 1.0*mm;
28 // SetVerboseLevel(1);
29
30 // General Physics
31 RegisterPhysics( new BesGeneralPhysics("general") );
32
33 // EM Physics
34 RegisterPhysics( new BesEMPhysics("standard EM"));
35
36 // Muon Physics
37 RegisterPhysics( new BesMuonPhysics("muon"));
38
39 // Hadron Physics
40 RegisterPhysics( new BesHadronPhysics("hadron"));
41
42 // Ion Physics
43 RegisterPhysics( new BesIonPhysics("ion"));
44
45
46}
47
49{
50}
51
53{
54 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
55 // the default cut value for all particle types
56 SetCutsWithDefault();
57}
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
virtual ~BesPhysicsList()
virtual void SetCuts()