CMS 3D CMS Logo

KinematicVertex.h
Go to the documentation of this file.
1 #ifndef KinematicVertex_H
2 #define KinematicVertex_H
3 
8 class KinematicTree;
9 
21 public:
22  friend class KinematicTree;
23 
29 
34  KinematicVertex(const VertexState state, float totalChiSq, float degreesOfFr);
35 
42  float totalChiSq,
43  float degreesOfFr);
44 
49 
50  ~KinematicVertex() override;
51 
57  bool operator==(const KinematicVertex& other) const;
58 
60 
67  bool operator<(const KinematicVertex& other) const;
79  bool vertexIsValid() const;
80 
87 
92 
93  VertexState vertexState() const;
94 
95  GlobalPoint position() const;
96 
97  GlobalError error() const;
98 
99  float chiSquared() const;
100 
101  float degreesOfFreedom() const;
102 
103  operator reco::Vertex();
104 
105 private:
106  void setTreePointer(KinematicTree* tr) const;
107 
108  //kinematic tree this
109  //vertex belongs to (can be 0)
110  mutable KinematicTree* tree;
111  mutable bool vl;
112 
114  // GlobalPoint theVertexPosition;
115  // GlobalError theVPositionError;
117  float theNDF;
119 };
120 
121 #endif
KinematicVertex::setTreePointer
void setTreePointer(KinematicTree *tr) const
Definition: KinematicVertex.cc:85
KinematicVertex::pVertex
ReferenceCountingPointer< KinematicVertex > pVertex
Definition: KinematicVertex.h:118
KinematicVertex::vertexIsValid
bool vertexIsValid() const
Definition: KinematicVertex.cc:71
CachingVertex
Definition: CachingVertex.h:22
KinematicVertex::chiSquared
float chiSquared() const
Definition: KinematicVertex.cc:79
KinematicTree
Definition: KinematicTree.h:36
KinematicVertex::theChiSquared
float theChiSquared
Definition: KinematicVertex.h:116
ReferenceCountingPointer< KinematicVertex >
CachingVertex.h
KinematicVertex::theNDF
float theNDF
Definition: KinematicVertex.h:117
KinematicVertex
Definition: KinematicVertex.h:20
KinematicVertex::vertexBeforeConstraint
ReferenceCountingPointer< KinematicVertex > vertexBeforeConstraint() const
Definition: KinematicVertex.cc:87
KinematicVertex::vl
bool vl
Definition: KinematicVertex.h:111
trackingPlots.other
other
Definition: trackingPlots.py:1460
VertexState.h
Point3DBase< float, GlobalTag >
Vertex.h
KinematicVertex::degreesOfFreedom
float degreesOfFreedom() const
Definition: KinematicVertex.cc:81
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
KinematicVertex::position
GlobalPoint position() const
Definition: KinematicVertex.cc:75
KinematicVertex::tree
KinematicTree * tree
Definition: KinematicVertex.h:110
GlobalErrorBase< double, ErrorMatrixTag >
KinematicVertex::operator==
bool operator==(const KinematicVertex &other) const
Definition: KinematicVertex.cc:41
KinematicVertex::theState
VertexState theState
Definition: KinematicVertex.h:113
KinematicVertex::vertexState
VertexState vertexState() const
Definition: KinematicVertex.cc:89
ReferenceCounted.h
HltBtagValidation_cff.Vertex
Vertex
Definition: HltBtagValidation_cff.py:32
KinematicVertex::KinematicVertex
KinematicVertex()
Definition: KinematicVertex.cc:8
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
KinematicVertex::error
GlobalError error() const
Definition: KinematicVertex.cc:77
VertexState
Definition: VertexState.h:13
KinematicVertex::~KinematicVertex
~KinematicVertex() override
Definition: KinematicVertex.cc:73
ReferenceCounted
KinematicVertex::correspondingTree
KinematicTree * correspondingTree() const
Definition: KinematicVertex.cc:83
KinematicVertex::operator<
bool operator<(const KinematicVertex &other) const
Definition: KinematicVertex.cc:64