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
 
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 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 :vtxId(0){}
unsigned int vtxId
Definition: SimVertex.h:41
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v
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) {}
int itrack
Definition: SimVertex.h:40
unsigned int vtxId
Definition: SimVertex.h:41
CoreSimVertex Core
Definition: SimVertex.h:10
mathSSE::Vec4< T > v

Member Function Documentation

bool SimVertex::noParent ( ) const
inline
int SimVertex::parentIndex ( ) const
inline
void SimVertex::setVertexId ( unsigned int  n)
inline

Definition at line 36 of file SimVertex.h.

References n, and vtxId.

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

Definition at line 37 of file SimVertex.h.

References vtxId.

Referenced by operator<<().

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

Member Data Documentation

int SimVertex::itrack
private

Definition at line 40 of file SimVertex.h.

Referenced by noParent(), and parentIndex().

unsigned int SimVertex::vtxId
private

Definition at line 41 of file SimVertex.h.

Referenced by setVertexId(), and vertexId().