ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17class FastSimulationMasterTool : public extends<AthAlgTool , IFastSimulationMasterTool> {
18 public:
19 // Standard constructor and destructor
20 FastSimulationMasterTool(const std::string& type, const std::string& name, const IInterface* parent);
22
23 // Base class methods
24 StatusCode initializeFastSims() override final;
25 StatusCode BeginOfAthenaEvent(HitCollectionMap&) override final;
26 StatusCode EndOfAthenaEvent(HitCollectionMap&) override final;
27
28 private:
29 ToolHandleArray<IFastSimulation> m_FastSimList{this, "FastSimulations", {}, "Tool handle array of fast simulation tools"};
30
31};
32
33#endif
StatusCode BeginOfAthenaEvent(HitCollectionMap &) override final
!< Base class method to initialize all the fast simulation models
StatusCode initializeFastSims() override final
StatusCode EndOfAthenaEvent(HitCollectionMap &) override final
!< Base class method that calls BeginOfAthenaEvent for all fast simulation models.
ToolHandleArray< IFastSimulation > m_FastSimList
!< Base class method that calls EndOfAthenaEvent for all fast simulation models.
FastSimulationMasterTool(const std::string &type, const std::string &name, const IInterface *parent)
Small wrapper around hit collection map to facilitate accessing the hit collection.
Abstract interface to service for Geant4 fast simulation classes.
#define private
Definition testRead.cxx:27