|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MCTruthBase_MCTruthSteppingAction_H
6 #define MCTruthBase_MCTruthSteppingAction_H
14 #include "GaudiKernel/ToolHandle.h"
18 #include "G4UserEventAction.hh"
19 #include "G4UserSteppingAction.hh"
35 public G4UserSteppingAction,
std::vector< RecordingEnvelope > m_recordingEnvelopes
List of RecordingEnvelope helpers to invoke.
MCTruthSteppingAction(const VolumeCollectionMap_t &collMap, IMessageSvc *msgSvc, MSG::Level level)
Construct the action with specified volumes and output collections.
std::map< std::string, std::string > VolumeCollectionMap_t
Map of volume name to output TrackRecordCollection name.
virtual void UserSteppingAction(const G4Step *) override final
Process one particle step.
VolumeCollectionMap_t m_volumeCollectionMap
Map of volume name to output collection name.
void setupRecEnvelopes()
Setup the list of RecordingEnvelope helpers.
msgSvc
Provide convenience handles for various services.
Class to provide easy MsgStream access and capabilities.
virtual void BeginOfEventAction(const G4Event *) override final
Called at the start of each G4 event.
User action which handles recording-envelope truth tracks.
bool m_isInitialized
Used to delay initialization until the event loop, after geo is ready.