Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:45

0001 #include "SimDataFormats/Vertex/interface/SimVertex.h"
0002 
0003 SimVertex::SimVertex() : itrack(-1), vtxId(0), procType(0) {}
0004 
0005 SimVertex::SimVertex(const math::XYZVectorD& v, float tof) : Core(v, tof), itrack(-1), vtxId(0), procType(0) {}
0006 
0007 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it) : Core(v, tof), itrack(it), vtxId(0), procType(0) {}
0008 
0009 SimVertex::SimVertex(const CoreSimVertex& v, int it) : Core(v), itrack(it), vtxId(0), procType(0) {}
0010 
0011 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, unsigned int vId)
0012     : Core(v, tof), itrack(-1), vtxId(vId), procType(0) {}
0013 
0014 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it, unsigned int vId)
0015     : Core(v, tof), itrack(it), vtxId(vId), procType(0) {}
0016 
0017 SimVertex::SimVertex(const CoreSimVertex& v, int it, unsigned int vId) : Core(v), itrack(it), vtxId(vId), procType(0) {}
0018 
0019 std::ostream& operator<<(std::ostream& o, const SimVertex& v) {
0020   return o << (SimVertex::Core)(v) << ", " << v.parentIndex() << ", " << v.vertexId();
0021 }