Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VITTrackHolder Class Reference

#include <G4VITTrackHolder.hh>

Inheritance diagram for G4VITTrackHolder:
Collaboration diagram for G4VITTrackHolder:

Public Member Functions

virtual void Push (G4Track *)
 
virtual size_t GetNTracks ()
 

Static Public Member Functions

static G4VITTrackHolderInstance ()
 

Protected Member Functions

 G4VITTrackHolder ()
 
virtual ~G4VITTrackHolder ()
 

Static Protected Attributes

static G4ThreadLocal
G4VITTrackHolder
fInstance
 

Detailed Description

G4ITTrackHolder is an empty interface that permits to push tracks to the IT system without actually depending on the IT tracking system. However, G4ITTrackHolder does not permit to retrieve any track.

Definition at line 61 of file G4VITTrackHolder.hh.

Constructor & Destructor Documentation

G4VITTrackHolder::G4VITTrackHolder ( )
protected

Definition at line 45 of file G4VITTrackHolder.cc.

46 {
47  fInstance = this;
48 }
static G4ThreadLocal G4VITTrackHolder * fInstance
G4VITTrackHolder::~G4VITTrackHolder ( )
protectedvirtual

Definition at line 50 of file G4VITTrackHolder.cc.

51 {
52  fInstance = 0;
53 }
static G4ThreadLocal G4VITTrackHolder * fInstance

Member Function Documentation

virtual size_t G4VITTrackHolder::GetNTracks ( )
inlinevirtual

Reimplemented in G4ITTrackHolder.

Definition at line 71 of file G4VITTrackHolder.hh.

72  {
73  return 0;
74  }
G4VITTrackHolder * G4VITTrackHolder::Instance ( void  )
static

Definition at line 55 of file G4VITTrackHolder.cc.

56 {
57  if (fInstance == 0) fInstance = new G4ITTrackHolder();
58  return fInstance;
59 }
static G4ThreadLocal G4VITTrackHolder * fInstance

Here is the caller graph for this function:

void G4VITTrackHolder::Push ( G4Track track)
virtual

Reimplemented in G4ITTrackHolder.

Definition at line 61 of file G4VITTrackHolder.cc.

62 {
63  //abort();
64  delete track;
65 }

Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4VITTrackHolder * G4VITTrackHolder::fInstance
staticprotected

Definition at line 66 of file G4VITTrackHolder.hh.


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