ATLAS Offline Software
|
#include "G4AtlasInterfaces/ISensitiveDetectorMasterTool.h"
Public Member Functions | |
ISensitiveDetectorMasterTool () | |
virtual | ~ISensitiveDetectorMasterTool () |
DeclareInterfaceID (ISensitiveDetectorMasterTool, 1, 0) | |
Creates the InterfaceID and interfaceID() method. More... | |
virtual StatusCode | initializeSDs ()=0 |
Method for initializing the SDs of each tool. More... | |
virtual StatusCode | BeginOfAthenaEvent ()=0 |
Begin of athena event method. More... | |
virtual StatusCode | EndOfAthenaEvent ()=0 |
End of athena event method. More... | |
Abstract interface to service for Geant4 sensitive detector classes
Definition at line 18 of file ISensitiveDetectorMasterTool.h.
|
inline |
Definition at line 21 of file ISensitiveDetectorMasterTool.h.
|
inlinevirtual |
Definition at line 23 of file ISensitiveDetectorMasterTool.h.
|
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.
ISensitiveDetectorMasterTool::DeclareInterfaceID | ( | ISensitiveDetectorMasterTool | , |
1 | , | ||
0 | |||
) |
Creates the InterfaceID and interfaceID() method.
|
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.
|
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.