SimG4Core
Notification
interface
CurrentG4Track.h
Go to the documentation of this file.
1
#ifndef SimG4Core_CurrentG4Track_H
2
#define SimG4Core_CurrentG4Track_H
3
4
#include "G4Track.hh"
5
14
class
CurrentG4Track
{
15
public
:
16
static
const
G4Track *
track
();
17
static
void
setTrack
(
const
G4Track *);
18
19
private
:
20
static
thread_local
const
G4Track *
m_track
;
21
};
22
23
#endif
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
CurrentG4Track
Definition:
CurrentG4Track.h:14
CurrentG4Track::track
static const G4Track * track()
Definition:
CurrentG4Track.cc:7
Generated for CMSSW Reference Manual by
1.8.16