Geant4-11
Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | Private Member Functions | Static Private Attributes
G4TrackStateID< T > Class Template Reference

#include <G4TrackState.hh>

Inheritance diagram for G4TrackStateID< T >:
G4VTrackStateID

Static Public Member Functions

static int GetID ()
 

Static Protected Member Functions

static int Create ()
 

Static Protected Attributes

static int fgLastID = 0
 

Private Member Functions

 G4TrackStateID ()
 
 ~G4TrackStateID ()
 

Static Private Attributes

static const int fID
 

Detailed Description

template<class T>
class G4TrackStateID< T >

Definition at line 66 of file G4TrackState.hh.

Constructor & Destructor Documentation

◆ G4TrackStateID()

template<class T >
G4TrackStateID< T >::G4TrackStateID ( )
inlineprivate

Definition at line 74 of file G4TrackState.hh.

74{}

◆ ~G4TrackStateID()

template<class T >
G4TrackStateID< T >::~G4TrackStateID ( )
inlineprivate

Definition at line 75 of file G4TrackState.hh.

75{}

Member Function Documentation

◆ Create()

int G4VTrackStateID::Create ( )
staticprotectedinherited

Definition at line 38 of file G4TrackState.cc.

38 {
39 return fgLastID++; // keep it on the right
40}
static int fgLastID
Definition: G4TrackState.hh:56

References G4VTrackStateID::fgLastID.

◆ GetID()

template<class T >
static int G4TrackStateID< T >::GetID ( )
inlinestatic

Definition at line 69 of file G4TrackState.hh.

69{ return fID; }
static const int fID
Definition: G4TrackState.hh:72

References G4TrackStateID< T >::fID.

Referenced by G4TrackStateBase< T >::GetID(), G4TrackStateBase< T >::ID(), and G4TrackState< T >::ID().

Field Documentation

◆ fgLastID

int G4VTrackStateID::fgLastID = 0
staticprotectedinherited

Definition at line 56 of file G4TrackState.hh.

Referenced by G4VTrackStateID::Create().

◆ fID

template<class T >
const int G4TrackStateID< T >::fID
staticprivate

Definition at line 72 of file G4TrackState.hh.

Referenced by G4TrackStateID< T >::GetID().


The documentation for this class was generated from the following file: