Tracking action (before/after track processing). More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par02TrackingAction () | |
A default constructor. | |
virtual | ~Par02TrackingAction () |
virtual void | PreUserTrackingAction (const G4Track *track) |
Defines the actions at the start of processing the track. | |
virtual void | PostUserTrackingAction (const G4Track *track) |
Defines the actions at the end of processing the track. | |
Tracking action (before/after track processing).
Defines the action at the start and at the end of processing of each track. The class needs to be set in G4RunManager::SetUserAction().
Definition at line 50 of file Doxymodules_parameterisations.h.
Par02TrackingAction::Par02TrackingAction | ( | ) |
A default constructor.
Definition at line 47 of file Par02TrackingAction.cc.
|
virtualdefault |
|
virtual |
Defines the actions at the start of processing the track.
It checks the pseudorapidity range and if the particle is a primary.
Definition at line 55 of file Par02TrackingAction.cc.
|
virtual |
Defines the actions at the end of processing the track.
It saves the information of MC data (PDG code, initial momentum), tracker (momentum), EMCal and HCal (energy deposit and its position) as well as resolution and efficiency for all the detectors.
Definition at line 66 of file Par02TrackingAction.cc.