|
43 | 43 | #include "G4ParticleTable.hh" |
44 | 44 | #include "G4CascadeInterface.hh" |
45 | 45 | #include "G4EmParameters.hh" |
| 46 | +#include "G4LossTableManager.hh" |
46 | 47 | #include "G4HadronicParameters.hh" |
47 | 48 | #include "G4NuclearLevelData.hh" |
48 | 49 | #include <CLHEP/Units/SystemOfUnits.h> |
|
51 | 52 | #include "G4PhysicalVolumeStore.hh" |
52 | 53 | #include "G4Region.hh" |
53 | 54 | #include "G4RegionStore.hh" |
| 55 | +#include "G4PhysListUtil.hh" |
| 56 | +#include "G4PhysicsListHelper.hh" |
54 | 57 |
|
55 | 58 | #include <iostream> |
56 | 59 | #include <sstream> |
@@ -85,6 +88,8 @@ RunManagerMT::RunManagerMT(edm::ParameterSet const& p) |
85 | 88 | m_UIsession = new CustomUIsession(); |
86 | 89 | G4UImanager::GetUIpointer()->SetCoutDestination(m_UIsession); |
87 | 90 | G4UImanager::GetUIpointer()->SetMasterUIManager(true); |
| 91 | + G4PhysListUtil::InitialiseParameters(); |
| 92 | + G4LossTableManager::Instance(); |
88 | 93 | } |
89 | 94 |
|
90 | 95 | RunManagerMT::~RunManagerMT() { delete m_UIsession; } |
@@ -150,6 +155,7 @@ void RunManagerMT::initG4(const DDCompactView* pDD, |
150 | 155 | G4HadronicParameters::Instance()->SetVerboseLevel(verb); |
151 | 156 | G4EmParameters::Instance()->SetVerbose(verb); |
152 | 157 | G4EmParameters::Instance()->SetWorkerVerbose(std::max(verb - 1, 0)); |
| 158 | + G4PhysicsListHelper::GetPhysicsListHelper(); |
153 | 159 |
|
154 | 160 | // exotic particle physics |
155 | 161 | double monopoleMass = m_pPhysics.getUntrackedParameter<double>("MonopoleMass", 0); |
|
0 commit comments