CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimDataFormats/Vertex/src/SimVertex.cc

Go to the documentation of this file.
00001 #include "SimDataFormats/Vertex/interface/SimVertex.h"
00002 
00003 SimVertex::SimVertex() :vtxId(0){}
00004  
00005 SimVertex::SimVertex(const math::XYZVectorD& v, float tof) :
00006     Core(v,tof), itrack(-1), vtxId(0) {}
00007 
00008 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it) :
00009     Core(v,tof), itrack(it), vtxId(0) {}
00010 
00011 SimVertex::SimVertex(const CoreSimVertex & v, int it) :
00012     Core(v), itrack(it), vtxId(0) {}
00013 
00014 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, unsigned int vId) :
00015     Core(v,tof), itrack(-1), vtxId(vId) {}
00016  
00017 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it, unsigned int vId) :
00018     Core(v,tof), itrack(it), vtxId(vId) {}
00019  
00020 SimVertex::SimVertex(const CoreSimVertex & v, int it, unsigned int vId) :
00021     Core(v), itrack(it), vtxId(vId) {}
00022  
00023 std::ostream & operator <<(std::ostream & o , const SimVertex & v) 
00024 { return o << (SimVertex::Core)(v) << ", " <<  v.parentIndex() <<", "<<v.vertexId(); }