1#ifndef TG4_TRACKING_ACTION_H
2#define TG4_TRACKING_ACTION_H
22#include <G4UserTrackingAction.hh>
30class TVirtualMCApplication;
Definition of the enumeration TG4TrackSaveControl.
Definition of the TG4TrackingActionMessenger class.
Definition of the TG4Verbose class.
The manager class for G3 process controls.
The process which pops particles defined by user from the VMC stack and passes them to tracking.
Geant4 implementation of the TVirtualMC interface methods for access to Geant4 at step level.
The class for storing G4 tracks in VMC sack.
Messenger class that defines commands for TG4TrackingAction.
Actions at the beginnig and at the end of track.
G4int fPrimaryTrackID
current primary track ID
virtual void PostTrackingAction(const G4Track *aTrack)
void SetNewVerboseLevel(G4int level)
G4bool fOverwriteLastTrack
control of saving current track
TG4TrackingAction(const TG4TrackingAction &right)
Not implemented.
static G4ThreadLocal TG4TrackingAction * fgInstance
this instance
TG4TrackManager * GetTrackManager() const
G4int fCurrentTrackID
current track ID
G4int fNewVerboseTrackID
track ID for which the new verbose level is applied
virtual void PreUserTrackingAction(const G4Track *aTrack)
G4int GetNewVerboseLevel() const
void SetMCStack(TVirtualMCStack *mcStack)
virtual ~TG4TrackingAction()
TG4StepManager * fStepManager
Cached pointer to thread-local step manager.
TG4TrackManager * fTrackManager
track manager
G4int fNewVerboseLevel
new /tracking/verbose level
void UserProcessHits(const G4Track *aTrack)
G4int GetNewVerboseTrackID() const
TG4TrackingAction & operator=(const TG4TrackingAction &right)
Not implemented.
virtual void PreTrackingAction(const G4Track *aTrack)
TG4TrackingActionMessenger fMessenger
messenger
void SetSpecialControls(TG4SpecialControlsV2 *specialControls)
void FinishPrimaryTrack()
TG4TrackSaveControl fTrackSaveControl
control of saving secondary tracks
virtual void PrepareNewEvent()
TG4StackPopper * fStackPopper
Cached pointer to thread-local stack popper.
TVirtualMCApplication * fMCApplication
Cached pointer to thread-local VMC application.
static TG4TrackingAction * Instance()
void SetNewVerboseTrackID(G4int trackID)
virtual void PostUserTrackingAction(const G4Track *aTrack)
TVirtualMCStack * fMCStack
Cached pointer to thread-local VMC stack.
TG4SpecialControlsV2 * fSpecialControls
the special controls manager
Base class for defining the verbose level and a common messenger.
TG4TrackSaveControl
Enumeration for options for storing secondary tracks.