ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasInterfaces
G4AtlasInterfaces
IFastSimulation.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 G4ATLASINTERFACES_IFASTSIMULATION_H
6
#define G4ATLASINTERFACES_IFASTSIMULATION_H
7
8
#include "GaudiKernel/IAlgTool.h"
9
17
class
HitCollectionMap
;
18
class
G4VFastSimulationModel;
19
20
class
IFastSimulation
:
virtual
public
IAlgTool {
21
public
:
22
IFastSimulation
() {}
23
virtual
~IFastSimulation
() {}
25
DeclareInterfaceID
(
IFastSimulation
, 1, 0);
29
virtual
StatusCode
initializeFastSim
() = 0;
30
33
virtual
StatusCode
BeginOfAthenaEvent
(
HitCollectionMap
&) = 0;
34
39
virtual
StatusCode
EndOfAthenaEvent
(
HitCollectionMap
&) = 0;
40
41
protected
:
45
virtual
G4VFastSimulationModel*
makeFastSimModel
() = 0;
46
};
47
48
#endif
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
IFastSimulation::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel()=0
Method to make the actual fast simulation model itself, which will be owned by the tool.
IFastSimulation::~IFastSimulation
virtual ~IFastSimulation()
Definition
IFastSimulation.h:23
IFastSimulation::BeginOfAthenaEvent
virtual StatusCode BeginOfAthenaEvent(HitCollectionMap &)=0
Method to be called at the beginning of the athena event.
IFastSimulation::DeclareInterfaceID
DeclareInterfaceID(IFastSimulation, 1, 0)
Creates the InterfaceID and interfaceID() method.
IFastSimulation::initializeFastSim
virtual StatusCode initializeFastSim()=0
Method to initialize the Fast Simulation mdoel itself - this is our hook for initialization in G4,...
IFastSimulation::IFastSimulation
IFastSimulation()
Definition
IFastSimulation.h:22
IFastSimulation::EndOfAthenaEvent
virtual StatusCode EndOfAthenaEvent(HitCollectionMap &)=0
Method to be called at the end of the athena event.
Generated on
for ATLAS Offline Software by
1.17.0