CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

SimVertex Class Reference

#include <SimVertex.h>

Inheritance diagram for SimVertex:
CoreSimVertex FSimVertex

List of all members.

Public Types

typedef CoreSimVertex Core

Public Member Functions

bool noParent () const
int parentIndex () const
void setVertexId (unsigned int n)
 SimVertex (const CoreSimVertex &t, int it)
 constructor from transient
 SimVertex ()
 constructor
 SimVertex (const math::XYZVectorD &v, float tof, int it, unsigned int vId)
 full constructor (position, time, index of parent in final vector)
 SimVertex (const math::XYZVectorD &v, float tof, unsigned int vId)
 SimVertex (const CoreSimVertex &t, int it, unsigned int vId)
 constructor from transient
 SimVertex (const math::XYZVectorD &v, float tof, int it)
 full constructor (position, time, index of parent in final vector)
 SimVertex (const math::XYZVectorD &v, float tof)
unsigned int vertexId () const

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.

:vtxId(0){}
SimVertex::SimVertex ( const CoreSimVertex t,
int  it 
)

constructor from transient

Definition at line 11 of file SimVertex.cc.

                                                    :
    Core(v), itrack(it), vtxId(0) {}
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof 
)

Definition at line 5 of file SimVertex.cc.

                                                       :
    Core(v,tof), itrack(-1), vtxId(0) {}
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.

                                                               :
    Core(v,tof), itrack(it), vtxId(0) {}
SimVertex::SimVertex ( const CoreSimVertex t,
int  it,
unsigned int  vId 
)

constructor from transient

Definition at line 20 of file SimVertex.cc.

                                                                      :
    Core(v), itrack(it), vtxId(vId) {}
SimVertex::SimVertex ( const math::XYZVectorD v,
float  tof,
unsigned int  vId 
)

Definition at line 14 of file SimVertex.cc.

                                                                         :
    Core(v,tof), itrack(-1), vtxId(vId) {}
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.

                                                                                 :
    Core(v,tof), itrack(it), vtxId(vId) {}

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.

{vtxId = n;}
unsigned int SimVertex::vertexId ( ) const [inline]

Definition at line 37 of file SimVertex.h.

References vtxId.

Referenced by operator<<().

{ return  vtxId; }  

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().