ATLAS Offline Software
G4RunManagerHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_GEANT4TOOLS_G4RUNMANAGERHELPER_H
6 #define ISF_GEANT4TOOLS_G4RUNMANAGERHELPER_H
7 
10 
12 
13 namespace iGeant4 {
14 
15  class G4RunManagerHelper: public extends<AthAlgTool, ISF::IG4RunManagerHelper> {
16 
17  public:
18  G4RunManagerHelper(const std::string& type,
19  const std::string& name,
20  const IInterface* parent);
21  virtual ~G4RunManagerHelper();
22 
23  virtual StatusCode initialize() override;
24 
25  virtual G4AtlasRunManager* g4RunManager ATLAS_NOT_THREAD_SAFE () override;
26  virtual G4RunManager* fastG4RunManager ATLAS_NOT_THREAD_SAFE () override;
27 
28  private:
29 
31  G4RunManager* m_fastG4RunManager;
32 
33  };
34 
35 }
36 
37 #endif // ISF_GEANT4TOOLS_G4RUNMANAGERHELPER_H
iGeant4::G4RunManagerHelper::ATLAS_NOT_THREAD_SAFE
virtual G4AtlasRunManager *g4RunManager ATLAS_NOT_THREAD_SAFE() override
iGeant4::G4RunManagerHelper::G4RunManagerHelper
G4RunManagerHelper(const std::string &type, const std::string &name, const IInterface *parent)
Definition: G4RunManagerHelper.cxx:19
G4AtlasRunManager
ATLAS custom singleton run manager.
Definition: G4AtlasRunManager.h:30
iGeant4::G4RunManagerHelper::~G4RunManagerHelper
virtual ~G4RunManagerHelper()
Definition: G4RunManagerHelper.cxx:28
G4AtlasRunManager.h
IG4RunManagerHelper.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
iGeant4::G4RunManagerHelper::m_fastG4RunManager
G4RunManager * m_fastG4RunManager
Definition: G4RunManagerHelper.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
iGeant4::G4RunManagerHelper::ATLAS_NOT_THREAD_SAFE
virtual G4RunManager *fastG4RunManager ATLAS_NOT_THREAD_SAFE() override
iGeant4::G4RunManagerHelper::initialize
virtual StatusCode initialize() override
Definition: G4RunManagerHelper.cxx:32
iGeant4::G4RunManagerHelper
Definition: G4RunManagerHelper.h:15
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
iGeant4::G4RunManagerHelper::m_g4RunManager
G4AtlasRunManager * m_g4RunManager
Definition: G4RunManagerHelper.h:30
iGeant4
Definition: Geant4TruthIncident.h:35