ATLAS Offline Software
FastSimulationMasterTool.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 G4ATLASSERVICES_FASTSIMULATIONMASTERTOOL_H
6 #define G4ATLASSERVICES_FASTSIMULATIONMASTERTOOL_H
7 
8 // Base classes
11 
12 // Members
13 #include "GaudiKernel/ToolHandle.h" // For tool handle array
14 #include "G4AtlasInterfaces/IFastSimulation.h" // Thing we have a handle on
15 
16 class FastSimulationMasterTool : public extends<AthAlgTool , IFastSimulationMasterTool> {
17  public:
18  // Standard constructor and destructor
19  FastSimulationMasterTool(const std::string& type, const std::string& name, const IInterface* parent);
21 
22  // Base class methods
23  StatusCode initializeFastSims() override final;
24  StatusCode BeginOfAthenaEvent() override final;
25  StatusCode EndOfAthenaEvent() override final;
26 
27  private:
28  ToolHandleArray<IFastSimulation> m_FastSimList{this, "FastSimulations", {}, "Tool handle array of fast simulation tools"};
29 
30 };
31 
32 #endif
FastSimulationMasterTool::initializeFastSims
StatusCode initializeFastSims() override final
Definition: FastSimulationMasterTool.cxx:18
FastSimulationMasterTool::EndOfAthenaEvent
StatusCode EndOfAthenaEvent() override final
!< Base class method that calls BeginOfAthenaEvent for all fast simulation models.
Definition: FastSimulationMasterTool.cxx:55
IFastSimulation.h
IFastSimulationMasterTool.h
FastSimulationMasterTool
Definition: FastSimulationMasterTool.h:16
FastSimulationMasterTool::BeginOfAthenaEvent
StatusCode BeginOfAthenaEvent() override final
!< Base class method to initialize all the fast simulation models
Definition: FastSimulationMasterTool.cxx:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FastSimulationMasterTool::m_FastSimList
ToolHandleArray< IFastSimulation > m_FastSimList
!< Base class method that calls EndOfAthenaEvent for all fast simulation models.
Definition: FastSimulationMasterTool.h:28
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
IFastSimulation
Definition: IFastSimulation.h:19
FastSimulationMasterTool::~FastSimulationMasterTool
virtual ~FastSimulationMasterTool()
Definition: FastSimulationMasterTool.h:20
FastSimulationMasterTool::FastSimulationMasterTool
FastSimulationMasterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FastSimulationMasterTool.cxx:13
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78