CMS 3D CMS Logo

SimVertex.cc
Go to the documentation of this file.
2 
3 SimVertex::SimVertex() : itrack(-1), vtxId(0), procType(0) {}
4 
5 SimVertex::SimVertex(const math::XYZVectorD& v, float tof) : Core(v, tof), itrack(-1), vtxId(0), procType(0) {}
6 
7 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it) : Core(v, tof), itrack(it), vtxId(0), procType(0) {}
8 
9 SimVertex::SimVertex(const CoreSimVertex& v, int it) : Core(v), itrack(it), vtxId(0), procType(0) {}
10 
11 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, unsigned int vId)
12  : Core(v, tof), itrack(-1), vtxId(vId), procType(0) {}
13 
14 SimVertex::SimVertex(const math::XYZVectorD& v, float tof, int it, unsigned int vId)
15  : Core(v, tof), itrack(it), vtxId(vId), procType(0) {}
16 
17 SimVertex::SimVertex(const CoreSimVertex& v, int it, unsigned int vId) : Core(v), itrack(it), vtxId(vId), procType(0) {}
18 
19 std::ostream& operator<<(std::ostream& o, const SimVertex& v) {
20  return o << (SimVertex::Core)(v) << ", " << v.parentIndex() << ", " << v.vertexId();
21 }
SimVertex
Definition: SimVertex.h:5
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
SimVertex.h
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
SimVertex::Core
CoreSimVertex Core
Definition: SimVertex.h:7
SimVertex::SimVertex
SimVertex()
constructor
Definition: SimVertex.cc:3
operator<<
std::ostream & operator<<(std::ostream &o, const SimVertex &v)
Definition: SimVertex.cc:19
CoreSimVertex
Definition: CoreSimVertex.h:12