![]() |
ATLAS Offline Software
|
Abstract interface to service for Geant4 fast simulation classes. More...
#include "G4AtlasInterfaces/IFastSimulation.h"
Public Member Functions | |
| IFastSimulation () | |
| virtual | ~IFastSimulation () |
| DeclareInterfaceID (IFastSimulation, 1, 0) | |
| Creates the InterfaceID and interfaceID() method. | |
| virtual StatusCode | initializeFastSim ()=0 |
| Method to initialize the Fast Simulation mdoel itself - this is our hook for initialization in G4, since in a multi-threaded setup the Fast Simulation models are local and they might need to be initialized in each thread. | |
| virtual StatusCode | BeginOfAthenaEvent ()=0 |
| Method to be called at the beginning of the athena event. | |
| virtual StatusCode | EndOfAthenaEvent ()=0 |
| Method to be called at the end of the athena event. | |
Protected Member Functions | |
| virtual G4VFastSimulationModel * | makeFastSimModel ()=0 |
| Method to make the actual fast simulation model itself, which will be owned by the tool. | |
Abstract interface to service for Geant4 fast simulation classes.
Definition at line 19 of file IFastSimulation.h.
|
inline |
Definition at line 21 of file IFastSimulation.h.
|
inlinevirtual |
Definition at line 22 of file IFastSimulation.h.
|
pure virtual |
Method to be called at the beginning of the athena event.
This is where the hit collections should be set up, if need be.
| IFastSimulation::DeclareInterfaceID | ( | IFastSimulation | , |
| 1 | , | ||
| 0 | ) |
Creates the InterfaceID and interfaceID() method.
|
pure virtual |
Method to be called at the end of the athena event.
This ensures a simple call when we have multiple G4 events per athena event. This is where any tidying that may need to be done at the end of the athena event rather that the G4 event can be done.
|
pure virtual |
Method to initialize the Fast Simulation mdoel itself - this is our hook for initialization in G4, since in a multi-threaded setup the Fast Simulation models are local and they might need to be initialized in each thread.
Saves us using the AlgTool's initialize() for this.
|
protectedpure virtual |
Method to make the actual fast simulation model itself, which will be owned by the tool.
Must be implemented in all concrete base classes.