#include <CurrentG4Track.h>
Static Public Member Functions | |
static void | setTrack (const G4Track *) |
static const G4Track * | track () |
Static Private Attributes | |
static const thread_local G4Track * | m_track = nullptr |
This class is NOT intended for general use. It provides immediate access to the currently tracked G4Track for places that can't access this information easily, like StackingAction. If an acceptable geant4 mechanism is found for this, this class will be removed.
Definition at line 14 of file CurrentG4Track.h.
|
static |
Definition at line 5 of file CurrentG4Track.cc.
References m_track, and submitPVValidationJobs::t.
|
static |
Definition at line 7 of file CurrentG4Track.cc.
References m_track.
Referenced by KillSecondariesStackingAction::ClassifyNewTrack().
|
staticprivate |
Definition at line 20 of file CurrentG4Track.h.
Referenced by setTrack(), and track().