A tool for managing the MCTruthSteppingAction.
More...
#include <MCTruthSteppingActionTool.h>
◆ MCTruthSteppingActionTool()
| G4UA::MCTruthSteppingActionTool::MCTruthSteppingActionTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ BeginOfAthenaEvent()
| StatusCode G4UA::MCTruthSteppingActionTool::BeginOfAthenaEvent |
( |
HitCollectionMap & |
hitCollections | ) |
|
|
overrideprotected |
◆ EndOfAthenaEvent()
| StatusCode G4UA::MCTruthSteppingActionTool::EndOfAthenaEvent |
( |
HitCollectionMap & |
hitCollections | ) |
|
|
overrideprotected |
◆ fillUserAction()
|
|
inlinefinaloverridevirtualinherited |
Fill the user action lists.
Definition at line 47 of file UserActionToolBase.h.
50 if(myAction ==
nullptr) {
52 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode G4UA::MCTruthSteppingActionTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ makeAndFillAction()
|
|
finaloverrideprotectedvirtual |
◆ m_actions
◆ m_volumeCollectionMap
| std::map<std::string, std::string> G4UA::MCTruthSteppingActionTool::m_volumeCollectionMap |
|
private |
The documentation for this class was generated from the following files:
std::pair< StorageIterator, bool > Emplace(std::string const &hitCollectionName, CollectionArgs &&... args)
Insert a container in the map with in-place construction.
void Record(std::string const &sgKey, std::string const &hitCollectionName, EventContext const &ctx)
Record the hit collection hitCollectionName to the StoreGate sgKey.