Abstract interface to service for Geant4 sensitive detector classes.
More...
#include "G4AtlasInterfaces/ISensitiveDetectorMasterTool.h"
Abstract interface to service for Geant4 sensitive detector classes.
- Author
- Zach Marshall
- Date
- 2014-12-20
Definition at line 21 of file ISensitiveDetectorMasterTool.h.
◆ ISensitiveDetectorMasterTool()
| ISensitiveDetectorMasterTool::ISensitiveDetectorMasterTool |
( |
| ) |
|
|
default |
◆ ~ISensitiveDetectorMasterTool()
| virtual ISensitiveDetectorMasterTool::~ISensitiveDetectorMasterTool |
( |
| ) |
|
|
virtualdefault |
◆ BeginOfAthenaEvent()
| virtual StatusCode ISensitiveDetectorMasterTool::BeginOfAthenaEvent |
( |
HitCollectionMap & | | ) |
|
|
pure virtual |
Begin 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 SetupEvent() method for all the SD handles that it owns.
◆ DeclareInterfaceID()
Creates the InterfaceID and interfaceID() method.
◆ EndOfAthenaEvent()
| virtual StatusCode ISensitiveDetectorMasterTool::EndOfAthenaEvent |
( |
HitCollectionMap & | | ) |
|
|
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.
◆ initializeSDs()
| virtual StatusCode ISensitiveDetectorMasterTool::initializeSDs |
( |
| ) |
|
|
pure virtual |
Method for initializing the SDs 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: