![]() |
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 | |
| std::map< std::string, std::string > | m_volumeCollectionMap |
| Map of volume name to output collection name. | |
A tool for managing the MCTruthSteppingAction.
Definition at line 26 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 47 of file MCTruthSteppingActionTool.cxx.
|
overrideprotected |
Calls EndOfAthenaEvent.
Definition at line 55 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 26 of file MCTruthSteppingActionTool.cxx.
|
finaloverrideprotectedvirtual |
Setup the user action for current thread.
Implements G4UA::UserActionToolBase< MCTruthSteppingAction >.
Definition at line 36 of file MCTruthSteppingActionTool.cxx.
|
protectedinherited |
Thread-specific storage of the user action.
Definition at line 70 of file UserActionToolBase.h.
|
private |
Map of volume name to output collection name.
Definition at line 52 of file MCTruthSteppingActionTool.h.