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

#include "G4AtlasInterfaces/ISensitiveDetectorMasterTool.h"

Inheritance diagram for ISensitiveDetectorMasterTool:
Collaboration diagram for ISensitiveDetectorMasterTool:

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...
 

Detailed Description

Abstract interface to service for Geant4 sensitive detector classes

Author
Zach Marshall
Date
2014-12-20

Definition at line 18 of file ISensitiveDetectorMasterTool.h.

Constructor & Destructor Documentation

◆ ISensitiveDetectorMasterTool()

ISensitiveDetectorMasterTool::ISensitiveDetectorMasterTool ( )
inline

Definition at line 21 of file ISensitiveDetectorMasterTool.h.

21 {}

◆ ~ISensitiveDetectorMasterTool()

virtual ISensitiveDetectorMasterTool::~ISensitiveDetectorMasterTool ( )
inlinevirtual

Definition at line 23 of file ISensitiveDetectorMasterTool.h.

23 {}

Member Function Documentation

◆ BeginOfAthenaEvent()

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

ISensitiveDetectorMasterTool::DeclareInterfaceID ( ISensitiveDetectorMasterTool  ,
,
 
)

Creates the InterfaceID and interfaceID() method.

◆ EndOfAthenaEvent()

virtual StatusCode ISensitiveDetectorMasterTool::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.

◆ 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: