CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
SimVertex Class Reference

#include <SimVertex.h>

Inheritance diagram for SimVertex:
CoreSimVertex FSimVertex

Public Types

typedef CoreSimVertex Core
 

Public Member Functions

bool noParent () const
 
int parentIndex () const
 
unsigned int processType () const
 
void setProcessType (unsigned int ty)
 
void setVertexId (unsigned int n)
 
 SimVertex ()
 constructor More...
 
 SimVertex (const CoreSimVertex &t, int it)
 constructor from transient More...
 
 SimVertex (const math::XYZVectorD &v, float tof)
 
 SimVertex (const math::XYZVectorD &v, float tof, int it)
 full constructor (position, time, index of parent in final vector) More...
 
 SimVertex (const CoreSimVertex &t, int it, unsigned int vId)
 constructor from transient More...
 
 SimVertex (const math::XYZVectorD &v, float tof, unsigned int vId)
 
 SimVertex (const math::XYZVectorD &v, float tof, int it, unsigned int vId)
 full constructor (position, time, index of parent in final vector) More...
 
unsigned int vertexId () const
 
- Public Member Functions inherited from CoreSimVertex
 CoreSimVertex ()
 constructors More...
 
 CoreSimVertex (const math::XYZVectorD &v, float tof)
 
 CoreSimVertex (const math::XYZTLorentzVectorD &v)
 
EncodedEventId eventId () const
 
const math::XYZTLorentzVectorDposition () const
 
void setEventId (EncodedEventId e)
 
void setTof (float tof)
 

Private Attributes

int itrack
 
unsigned int procType
 
unsigned int vtxId
 

Detailed Description

Definition at line 5 of file SimVertex.h.

Member Typedef Documentation

Definition at line 10 of file SimVertex.h.

Constructor & Destructor Documentation

SimVertex::SimVertex ( )

constructor

Definition at line 3 of file SimVertex.cc.

3 : itrack(-1), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const CoreSimVertex t,
int  it 
)

constructor from transient

Definition at line 11 of file SimVertex.cc.

11  :
12  Core(v), itrack(it), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof 
)

Definition at line 5 of file SimVertex.cc.

5  :
6  Core(v,tof), itrack(-1), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
int  it 
)

full constructor (position, time, index of parent in final vector)

Definition at line 8 of file SimVertex.cc.

8  :
9  Core(v,tof), itrack(it), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const CoreSimVertex t,
int  it,
unsigned int  vId 
)

constructor from transient

Definition at line 20 of file SimVertex.cc.

20  :
21  Core(v), itrack(it), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
unsigned int  vId 
)

Definition at line 14 of file SimVertex.cc.

14  :
15  Core(v,tof), itrack(-1), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
int  it,
unsigned int  vId 
)

full constructor (position, time, index of parent in final vector)

Definition at line 17 of file SimVertex.cc.

17  :
18  Core(v,tof), itrack(it), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:43
unsigned int vtxId
Definition: SimVertex.h:44
CoreSimVertex Core
Definition: SimVertex.h:10
unsigned int procType
Definition: SimVertex.h:45

Member Function Documentation

bool SimVertex::noParent ( ) const
inline
int SimVertex::parentIndex ( ) const
inline
unsigned int SimVertex::processType ( ) const
inline

Definition at line 40 of file SimVertex.h.

References procType.

40 { return procType; }
unsigned int procType
Definition: SimVertex.h:45
void SimVertex::setProcessType ( unsigned int  ty)
inline

Definition at line 39 of file SimVertex.h.

References procType.

Referenced by G4SimEvent::load().

39 {procType = ty;}
unsigned int procType
Definition: SimVertex.h:45
void SimVertex::setVertexId ( unsigned int  n)
inline

Definition at line 36 of file SimVertex.h.

References gen::n, and vtxId.

36 {vtxId = n;}
unsigned int vtxId
Definition: SimVertex.h:44
unsigned int SimVertex::vertexId ( ) const
inline

Definition at line 37 of file SimVertex.h.

References vtxId.

Referenced by TrackingTruthAccumulator::accumulateEvent(), and operator<<().

37 { return vtxId; }
unsigned int vtxId
Definition: SimVertex.h:44

Member Data Documentation

int SimVertex::itrack
private

Definition at line 43 of file SimVertex.h.

Referenced by noParent(), and parentIndex().

unsigned int SimVertex::procType
private

Definition at line 45 of file SimVertex.h.

Referenced by processType(), and setProcessType().

unsigned int SimVertex::vtxId
private

Definition at line 44 of file SimVertex.h.

Referenced by setVertexId(), and vertexId().