19#ifndef BDSLINKTRACKINGACTION_H
20#define BDSLINKTRACKINGACTION_H
21#include "BDSTrajectoryOptions.hh"
24#include "G4UserTrackingAction.hh"
38 G4int verboseSteppingEventStartIn,
39 G4int verboseSteppingEventStopIn,
40 G4bool verboseSteppingPrimaryOnlyIn,
41 G4int verboseSteppingLevelIn);
62 G4int verboseSteppingEventStart;
63 G4int verboseSteppingEventStop;
64 G4bool verboseSteppingPrimaryOnly;
65 G4int verboseSteppingLevel;
Process information at the event level for Link to trackers.
Action to decide whether or not to store trajectory information.
BDSLinkEventAction * eventAction
Cache of event action to communicate whether a primary stopped in a collimator or not.
BDSLinkTrackingAction()=delete
No default constructor required.
virtual void PostUserTrackingAction(const G4Track *track)
Detect whether track is a primary and if so whether it ended in a collimator.
virtual void PreUserTrackingAction(const G4Track *track)
Used to decide whether or not to store trajectories.