ATLAS Offline Software
|
Public tool which manages all the sensitive detector tools. More...
#include <SensitiveDetectorMasterTool.h>
Public Member Functions | |
SensitiveDetectorMasterTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Standard constructor. More... | |
virtual | ~SensitiveDetectorMasterTool () |
Empty virtual destructor. More... | |
StatusCode | initialize () override final |
Retrieve the SD tools. SD creation is deferred until initializeSDs. More... | |
StatusCode | initializeSDs () override final |
Calls initializeSD on each SD tool to create the SDs for the current worker thread. More... | |
StatusCode | BeginOfAthenaEvent () override final |
Calls SetupEvent on each SD tool. More... | |
StatusCode | EndOfAthenaEvent () override final |
Calls Gather on each SD tool. More... | |
Private Attributes | |
ToolHandleArray< ISensitiveDetector > | m_senDetTools {this, "SensitiveDetectors", {}, "Tool handle array of all sensitive detector tools"} |
Private array of tool handles pointing to all SD tools. More... | |
Public tool which manages all the sensitive detector tools.
This tool provides functionality to trigger creation of SDs for the current worker thread and to invoke special SD methods at the beginning and end of an Athena event.
This will probably be changed (back) to a service in the near future.
Definition at line 25 of file SensitiveDetectorMasterTool.h.
SensitiveDetectorMasterTool::SensitiveDetectorMasterTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Standard constructor.
Definition at line 8 of file SensitiveDetectorMasterTool.cxx.
|
inlinevirtual |
|
finaloverride |
|
finaloverride |
|
finaloverride |
Retrieve the SD tools. SD creation is deferred until initializeSDs.
Definition at line 15 of file SensitiveDetectorMasterTool.cxx.
|
finaloverride |
Calls initializeSD on each SD tool to create the SDs for the current worker thread.
Definition at line 25 of file SensitiveDetectorMasterTool.cxx.
|
private |
Private array of tool handles pointing to all SD tools.
Definition at line 46 of file SensitiveDetectorMasterTool.h.