ATLAS Offline Software
Public Member Functions | Protected Member Functions | List of all members
IFastSimulation Class Referenceabstract

#include "G4AtlasInterfaces/IFastSimulation.h"

Inheritance diagram for IFastSimulation:
Collaboration diagram for IFastSimulation:

Public Member Functions

 IFastSimulation ()
 
virtual ~IFastSimulation ()
 
 DeclareInterfaceID (IFastSimulation, 1, 0)
 Creates the InterfaceID and interfaceID() method. More...
 
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. More...
 
virtual StatusCode BeginOfAthenaEvent ()=0
 Method to be called at the beginning of the athena event. More...
 
virtual StatusCode EndOfAthenaEvent ()=0
 Method to be called at the end of the athena event. More...
 

Protected Member Functions

virtual G4VFastSimulationModel * makeFastSimModel ()=0
 Method to make the actual fast simulation model itself, which will be owned by the tool. More...
 

Detailed Description

Abstract interface to service for Geant4 fast simulation classes

Author
Zach Marshall
Date
2014-12-20

Definition at line 19 of file IFastSimulation.h.

Constructor & Destructor Documentation

◆ IFastSimulation()

IFastSimulation::IFastSimulation ( )
inline

Definition at line 21 of file IFastSimulation.h.

21 {}

◆ ~IFastSimulation()

virtual IFastSimulation::~IFastSimulation ( )
inlinevirtual

Definition at line 22 of file IFastSimulation.h.

22 {}

Member Function Documentation

◆ BeginOfAthenaEvent()

virtual StatusCode IFastSimulation::BeginOfAthenaEvent ( )
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.

◆ DeclareInterfaceID()

IFastSimulation::DeclareInterfaceID ( IFastSimulation  ,
,
 
)

Creates the InterfaceID and interfaceID() method.

◆ EndOfAthenaEvent()

virtual StatusCode IFastSimulation::EndOfAthenaEvent ( )
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.

◆ initializeFastSim()

virtual StatusCode IFastSimulation::initializeFastSim ( )
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.

◆ makeFastSimModel()

virtual G4VFastSimulationModel* IFastSimulation::makeFastSimModel ( )
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.


The documentation for this class was generated from the following file: