CMS 3D CMS Logo

CurrentG4Track.cc
Go to the documentation of this file.
2 
3 thread_local const G4Track* CurrentG4Track::m_track = nullptr;
4 
5 void CurrentG4Track::setTrack(const G4Track* t) { m_track = t; }
6 
7 const G4Track* CurrentG4Track::track() { return m_track; }
CurrentG4Track.h
CurrentG4Track::setTrack
static void setTrack(const G4Track *)
Definition: CurrentG4Track.cc:5
CurrentG4Track::m_track
static const thread_local G4Track * m_track
Definition: CurrentG4Track.h:20
OrderedSet.t
t
Definition: OrderedSet.py:90
CurrentG4Track::track
static const G4Track * track()
Definition: CurrentG4Track.cc:7