Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
G4TrackStateID< T > Class Template Reference

#include <G4VTrackState.hh>

Inheritance diagram for G4TrackStateID< T >:
G4VTrackStateID

Public Member Functions

 ~G4TrackStateID ()
 
virtual int GetStateID ()
 

Static Public Member Functions

static CLHEP::shared_ptr
< G4VTrackStateID
Get ()
 
static int GetID ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VTrackStateID
 G4VTrackStateID ()
 
virtual ~G4VTrackStateID ()
 
- Static Protected Attributes inherited from G4VTrackStateID
static int fgLastID = 0
 

Detailed Description

template<class T>
class G4TrackStateID< T >

Definition at line 52 of file G4VTrackState.hh.

Constructor & Destructor Documentation

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

Definition at line 65 of file G4VTrackState.hh.

65 {;}

Member Function Documentation

template<class T >
static CLHEP::shared_ptr<G4VTrackStateID> G4TrackStateID< T >::Get ( )
inlinestatic

Definition at line 55 of file G4VTrackState.hh.

56  {
57  if(!fgTrackStateID)
58  {
60  }
61 
62  return fgTrackStateID;
63  }
template<class T >
static int G4TrackStateID< T >::GetID ( )
inlinestatic

Definition at line 72 of file G4VTrackState.hh.

73  {
74  if(fgTrackStateID)
75  return fgTrackStateID->fID;
76  else
77  return -1; // TODO Exception
78  }
template<class T >
virtual int G4TrackStateID< T >::GetStateID ( )
inlinevirtual

Implements G4VTrackStateID.

Definition at line 67 of file G4VTrackState.hh.

68  {
69  return fID;
70  }

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