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

#include "G4AtlasInterfaces/IFastSimulationMasterTool.h"

Inheritance diagram for IFastSimulationMasterTool:
Collaboration diagram for IFastSimulationMasterTool:

Public Member Functions

 IFastSimulationMasterTool ()
 
virtual ~IFastSimulationMasterTool ()
 
 DeclareInterfaceID (IFastSimulationMasterTool, 1, 0)
 Creates the InterfaceID and interfaceID() method. More...
 
virtual StatusCode initializeFastSims ()=0
 Method for initializing the fast simulation models of each tool. More...
 
virtual StatusCode BeginOfAthenaEvent ()=0
 Begin of athena event method. More...
 
virtual StatusCode EndOfAthenaEvent ()=0
 End of athena event method. More...
 

Detailed Description

Abstract interface to service for Geant4 fast simulation classes

Author
Zach Marshall
Date
2014-12-20

Definition at line 18 of file IFastSimulationMasterTool.h.

Constructor & Destructor Documentation

◆ IFastSimulationMasterTool()

IFastSimulationMasterTool::IFastSimulationMasterTool ( )
inline

Definition at line 20 of file IFastSimulationMasterTool.h.

20 {}

◆ ~IFastSimulationMasterTool()

virtual IFastSimulationMasterTool::~IFastSimulationMasterTool ( )
inlinevirtual

Definition at line 21 of file IFastSimulationMasterTool.h.

21 {}

Member Function Documentation

◆ BeginOfAthenaEvent()

virtual StatusCode IFastSimulationMasterTool::BeginOfAthenaEvent ( )
pure virtual

Begin of athena event method.

Gets called once at the beginning of every Athena event

◆ DeclareInterfaceID()

IFastSimulationMasterTool::DeclareInterfaceID ( IFastSimulationMasterTool  ,
,
 
)

Creates the InterfaceID and interfaceID() method.

◆ EndOfAthenaEvent()

virtual StatusCode IFastSimulationMasterTool::EndOfAthenaEvent ( )
pure virtual

End of athena event method.

This should get called once per athena event by the framework, somewhere. Eventually it may be done via a Gaudi function. This ensures a simple call when we have multiple G4 events per athena event. The function calls the Gather() method for all the SD handles that it owns.

◆ initializeFastSims()

virtual StatusCode IFastSimulationMasterTool::initializeFastSims ( )
pure virtual

Method for initializing the fast simulation models of each tool.

Not done in the athena-level initialize() function, as this may need to happen once per thread in a multi-threaded environment.


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