ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasTools
src
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
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
G4AtlasInterfaces/IFastSimulationMasterTool.h
"
11
12
// Members
13
#include "GaudiKernel/ToolHandle.h"
// For tool handle array
14
#include "
G4AtlasInterfaces/IFastSimulation.h
"
// Thing we have a handle on
15
#include "
HitManagement/HitCollectionMap.h
"
16
17
class
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);
21
virtual
~FastSimulationMasterTool
() {}
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
AthAlgTool.h
HitCollectionMap.h
IFastSimulationMasterTool.h
IFastSimulation.h
FastSimulationMasterTool::~FastSimulationMasterTool
virtual ~FastSimulationMasterTool()
Definition
FastSimulationMasterTool.h:21
FastSimulationMasterTool::BeginOfAthenaEvent
StatusCode BeginOfAthenaEvent(HitCollectionMap &) override final
!< Base class method to initialize all the fast simulation models
Definition
FastSimulationMasterTool.cxx:35
FastSimulationMasterTool::initializeFastSims
StatusCode initializeFastSims() override final
Definition
FastSimulationMasterTool.cxx:19
FastSimulationMasterTool::EndOfAthenaEvent
StatusCode EndOfAthenaEvent(HitCollectionMap &) override final
!< Base class method that calls BeginOfAthenaEvent for all fast simulation models.
Definition
FastSimulationMasterTool.cxx:43
FastSimulationMasterTool::m_FastSimList
ToolHandleArray< IFastSimulation > m_FastSimList
!< Base class method that calls EndOfAthenaEvent for all fast simulation models.
Definition
FastSimulationMasterTool.h:29
FastSimulationMasterTool::FastSimulationMasterTool
FastSimulationMasterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FastSimulationMasterTool.cxx:14
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
IFastSimulation
Abstract interface to service for Geant4 fast simulation classes.
Definition
IFastSimulation.h:20
type
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0