![]() |
ATLAS Offline Software
|
A tool for managing the MCTruthSteppingAction. More...
#include <MCTruthSteppingActionTool.h>
Public Member Functions | |
| MCTruthSteppingActionTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard constructor. | |
| virtual StatusCode | initialize () override final |
| Initialize the tool. | |
| virtual StatusCode | fillUserAction (G4AtlasUserActions &actionLists) override final |
| Fill the user action lists. | |
Protected Member Functions | |
| virtual std::unique_ptr< MCTruthSteppingAction > | makeAndFillAction (G4AtlasUserActions &) override final |
| Setup the user action for current thread. | |
| StatusCode | BeginOfAthenaEvent (HitCollectionMap &) override |
| Calls BeginOfAthenaEvent. | |
| StatusCode | EndOfAthenaEvent (HitCollectionMap &) override |
| Calls EndOfAthenaEvent. | |
Protected Attributes | |
| ThreadSpecificUserAction< MCTruthSteppingAction > | m_actions |
| Thread-specific storage of the user action. | |
Private Attributes | |
| Gaudi::Property< MCTruthSteppingAction::VolumeCollectionMap_t > | m_volumeCollectionMap |
| Map of volume name to output collection name. | |
| Gaudi::Property< int > | m_secondarySavingLevel |
| The saving level for secondaries. | |
| Gaudi::Property< int > | m_subDetVolLevel |
| The level in the G4 volume hierarchy at which we find the sub-detector. | |
| ServiceHandle< ISF::ITruthSvc > | m_truthRecordSvc |
| Central Truth Service. | |
| ServiceHandle< ISF::IGeoIDSvc > | m_geoIDSvc |
| Geo ID Service. | |
A tool for managing the MCTruthSteppingAction.
Definition at line 31 of file MCTruthSteppingActionTool.h.
| G4UA::MCTruthSteppingActionTool::MCTruthSteppingActionTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Standard constructor.
Definition at line 14 of file MCTruthSteppingActionTool.cxx.
|
overrideprotected |
Calls BeginOfAthenaEvent.
Definition at line 49 of file MCTruthSteppingActionTool.cxx.
|
overrideprotected |
Calls EndOfAthenaEvent.
Definition at line 57 of file MCTruthSteppingActionTool.cxx.
|
inlinefinaloverridevirtualinherited |
Fill the user action lists.
Definition at line 47 of file UserActionToolBase.h.
|
finaloverridevirtual |
Initialize the tool.
Definition at line 23 of file MCTruthSteppingActionTool.cxx.
|
finaloverrideprotectedvirtual |
Setup the user action for current thread.
Implements G4UA::UserActionToolBase< MCTruthSteppingAction >.
Definition at line 35 of file MCTruthSteppingActionTool.cxx.
|
protectedinherited |
Thread-specific storage of the user action.
Definition at line 70 of file UserActionToolBase.h.
|
private |
Geo ID Service.
Definition at line 76 of file MCTruthSteppingActionTool.h.
|
private |
The saving level for secondaries.
Definition at line 62 of file MCTruthSteppingActionTool.h.
|
private |
The level in the G4 volume hierarchy at which we find the sub-detector.
Definition at line 67 of file MCTruthSteppingActionTool.h.
|
private |
Central Truth Service.
Definition at line 72 of file MCTruthSteppingActionTool.h.
|
private |
Map of volume name to output collection name.
Definition at line 58 of file MCTruthSteppingActionTool.h.