BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesPhysicsList.cc
Go to the documentation of this file.
1
2#include "PhySim/BesPhysicsList.hh"
3
4#include "G4ParticleDefinition.hh"
5#include "G4ParticleTable.hh"
6#include "G4ParticleTypes.hh"
7#include "G4ParticleWithCuts.hh"
8#include "G4ProcessManager.hh"
9#include "G4ProcessVector.hh"
10#include "globals.hh"
11
12#include "G4Material.hh"
13#include "G4MaterialTable.hh"
14#include "G4ios.hh"
15#include <iomanip>
16
17#include "PhySim/BesEMPhysics.hh"
18#include "PhySim/BesGeneralPhysics.hh"
19#include "PhySim/BesHadronPhysics.hh"
20#include "PhySim/BesIonPhysics.hh"
21#include "PhySim/BesMuonPhysics.hh"
22using namespace CLHEP;
23
24BesPhysicsList::BesPhysicsList() : G4VModularPhysicsList() {
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
46
48 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
49 // the default cut value for all particle types
50 SetCutsWithDefault();
51}
virtual ~BesPhysicsList()
virtual void SetCuts()