16 #include "G4VUserPhysicsList.hh"
17 #include "QGSP_BERT.hh"
20 const std::string&
name,
36 return StatusCode::SUCCESS;
43 if (m_g4RunManager)
return m_g4RunManager;
45 m_g4RunManager = G4AtlasRunManager::GetG4AtlasRunManager();
49 return m_g4RunManager;
57 if (m_g4RunManager)
return m_g4RunManager;
59 if (m_fastG4RunManager)
return m_fastG4RunManager;
61 m_fastG4RunManager =
new G4RunManager;
63 ATH_MSG_INFO(
"Initializing fast version of G4RunManager");
66 G4VUserPhysicsList *thePL =
new QGSP_BERT;
68 m_fastG4RunManager->SetUserInitialization(thePL);
72 m_fastG4RunManager->Initialize();
74 return m_fastG4RunManager;