CMS 3D CMS Logo

SimVertex.h
Go to the documentation of this file.
1 #ifndef SimVertex_H
2 #define SimVertex_H
3 
5 class SimVertex : public CoreSimVertex {
6 public:
7  typedef CoreSimVertex Core;
9  SimVertex();
10 
12  SimVertex(const CoreSimVertex& t, int it);
13 
14  SimVertex(const math::XYZVectorD& v, float tof);
15 
17  SimVertex(const math::XYZVectorD& v, float tof, int it);
18 
20  SimVertex(const CoreSimVertex& t, int it, unsigned int vId);
21 
22  SimVertex(const math::XYZVectorD& v, float tof, unsigned int vId);
23 
25  SimVertex(const math::XYZVectorD& v, float tof, int it, unsigned int vId);
26 
29  int parentIndex() const { return itrack; }
30  bool noParent() const { return itrack == -1; }
31 
32  void setVertexId(unsigned int n) { vtxId = n; }
33  unsigned int vertexId() const { return vtxId; }
34 
35  void setProcessType(unsigned int ty) { procType = ty; }
36  unsigned int processType() const { return procType; }
37 
38 private:
39  int itrack;
40  unsigned int vtxId;
41  unsigned int procType;
42 };
43 
44 #include <iosfwd>
45 std::ostream& operator<<(std::ostream& o, const SimVertex& v);
46 
47 #endif
SimVertex
Definition: SimVertex.h:5
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
SimVertex::parentIndex
int parentIndex() const
Definition: SimVertex.h:29
operator<<
std::ostream & operator<<(std::ostream &o, const SimVertex &v)
Definition: SimVertex.cc:19
SimVertex::vtxId
unsigned int vtxId
Definition: SimVertex.h:40
findQualityFiles.v
v
Definition: findQualityFiles.py:179
SimVertex::procType
unsigned int procType
Definition: SimVertex.h:41
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
OrderedSet.t
t
Definition: OrderedSet.py:90
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::noParent
bool noParent() const
Definition: SimVertex.h:30
SimVertex::setVertexId
void setVertexId(unsigned int n)
Definition: SimVertex.h:32
SimVertex::vertexId
unsigned int vertexId() const
Definition: SimVertex.h:33
SimVertex::setProcessType
void setProcessType(unsigned int ty)
Definition: SimVertex.h:35
SimVertex::SimVertex
SimVertex()
constructor
Definition: SimVertex.cc:3
CoreSimVertex.h
CoreSimVertex
Definition: CoreSimVertex.h:12
SimVertex::processType
unsigned int processType() const
Definition: SimVertex.h:36
SimVertex::itrack
int itrack
Definition: SimVertex.h:39