CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 7 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:39
unsigned int vtxId
Definition: SimVertex.h:40
unsigned int procType
Definition: SimVertex.h:41
SimVertex::SimVertex ( const CoreSimVertex t,
int  it 
)

constructor from transient

Definition at line 9 of file SimVertex.cc.

9 : Core(v), itrack(it), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof 
)

Definition at line 5 of file SimVertex.cc.

5 : Core(v, tof), itrack(-1), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
int  it 
)

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

Definition at line 7 of file SimVertex.cc.

7 : Core(v, tof), itrack(it), vtxId(0), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41
SimVertex::SimVertex ( const CoreSimVertex t,
int  it,
unsigned int  vId 
)

constructor from transient

Definition at line 17 of file SimVertex.cc.

17 : Core(v), itrack(it), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
unsigned int  vId 
)

Definition at line 11 of file SimVertex.cc.

12  : Core(v, tof), itrack(-1), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41
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 14 of file SimVertex.cc.

15  : Core(v, tof), itrack(it), vtxId(vId), procType(0) {}
int itrack
Definition: SimVertex.h:39
unsigned int vtxId
Definition: SimVertex.h:40
CoreSimVertex Core
Definition: SimVertex.h:7
unsigned int procType
Definition: SimVertex.h:41

Member Function Documentation

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

Definition at line 36 of file SimVertex.h.

References procType.

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

Definition at line 35 of file SimVertex.h.

References procType.

Referenced by G4SimEvent::load().

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

Definition at line 32 of file SimVertex.h.

References dqmiodumpmetadata::n, and vtxId.

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

Member Data Documentation

int SimVertex::itrack
private

Definition at line 39 of file SimVertex.h.

Referenced by noParent(), and parentIndex().

unsigned int SimVertex::procType
private

Definition at line 41 of file SimVertex.h.

Referenced by processType(), and setProcessType().

unsigned int SimVertex::vtxId
private

Definition at line 40 of file SimVertex.h.

Referenced by setVertexId(), and vertexId().