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)
6 {
7  m_track = t;
8 }
9 
10 const G4Track * CurrentG4Track::track()
11 {
12  return m_track;
13 }
14 
static void setTrack(const G4Track *)
static thread_local const G4Track * m_track
static const G4Track * track()