#include <KinematicVertex.h>
Public Member Functions | |
float | chiSquared () const |
KinematicTree * | correspondingTree () const |
float | degreesOfFreedom () const |
GlobalError | error () const |
KinematicVertex () | |
KinematicVertex (const VertexState state, float totalChiSq, float degreesOfFr) | |
KinematicVertex (const VertexState state, const ReferenceCountingPointer< KinematicVertex > prVertex, float totalChiSq, float degreesOfFr) | |
KinematicVertex (const CachingVertex< 6 > &vertex) | |
operator reco::Vertex () | |
bool | operator< (const KinematicVertex &other) const |
bool | operator== (const KinematicVertex &other) const |
bool | operator== (const ReferenceCountingPointer< KinematicVertex > other) const |
GlobalPoint | position () const |
ReferenceCountingPointer < KinematicVertex > | vertexBeforeConstraint () const |
bool | vertexIsValid () const |
VertexState | vertexState () const |
virtual | ~KinematicVertex () |
Private Member Functions | |
void | setTreePointer (KinematicTree *tr) const |
Private Attributes | |
ReferenceCountingPointer < KinematicVertex > | pVertex |
float | theChiSquared |
float | theNDF |
VertexState | theState |
KinematicTree * | tree |
bool | vl |
Friends | |
class | KinematicTree |
Class representing a Decay Vertex Caches a vertex position, covariance matrix, chi squared and number of degrees of freedom. Class is usually created by KinematicParticleVertexFitter
Kirill Prokofiev, December 2002
Definition at line 21 of file KinematicVertex.h.
KinematicVertex::KinematicVertex | ( | ) |
Empty default constructor for invalid vertices
Definition at line 8 of file KinematicVertex.cc.
References vl.
KinematicVertex::KinematicVertex | ( | const VertexState | state, |
float | totalChiSq, | ||
float | degreesOfFr | ||
) |
Constructor with vertex state, chi2 and ndf. Previous state of the vertex pointer is set to 0.
Definition at line 11 of file KinematicVertex.cc.
References pVertex, tree, and vl.
KinematicVertex::KinematicVertex | ( | const VertexState | state, |
const ReferenceCountingPointer< KinematicVertex > | prVertex, | ||
float | totalChiSq, | ||
float | degreesOfFr | ||
) |
Constructor with previous (before constraint) state of the vertex
Definition at line 33 of file KinematicVertex.cc.
KinematicVertex::KinematicVertex | ( | const CachingVertex< 6 > & | vertex | ) |
Direct transformation from caching vertex
Definition at line 21 of file KinematicVertex.cc.
References CachingVertex< N >::degreesOfFreedom(), CachingVertex< N >::error(), CachingVertex< N >::position(), pVertex, theChiSquared, theNDF, theState, CachingVertex< N >::totalChiSquared(), tree, and vl.
|
virtual |
Definition at line 81 of file KinematicVertex.cc.
float KinematicVertex::chiSquared | ( | ) | const |
KinematicTree * KinematicVertex::correspondingTree | ( | ) | const |
Returns the pointer to the kinematic tree (if any) current vertex belongs to returned in case of not any tree build yet
Definition at line 100 of file KinematicVertex.cc.
References tree.
float KinematicVertex::degreesOfFreedom | ( | ) | const |
GlobalError KinematicVertex::error | ( | ) | const |
Definition at line 89 of file KinematicVertex.cc.
References VertexState::error(), and theState.
Referenced by operator==().
KinematicVertex::operator reco::Vertex | ( | ) |
Definition at line 112 of file KinematicVertex.cc.
References reco::TransientTrack::basicTransientTrack(), i, TransientTrackKinematicParticle::initialTransientTrack(), edm::Ref< C, T, F >::isNonnull(), reco::TrackTransientTrack::persistentTrackRef(), reco::GsfTransientTrack::persistentTrackRef(), KinematicParticle::refittedTransientTrack(), reco::TransientTrack::track(), and MainPageGenerator::tree.
bool KinematicVertex::operator< | ( | const KinematicVertex & | other | ) | const |
comparison by adress operator Has NO physical meaning To be used inside the graph only
Definition at line 71 of file KinematicVertex.cc.
bool KinematicVertex::operator== | ( | const KinematicVertex & | other | ) | const |
Comparison by contents operator is true if position AND covariance match
Definition at line 45 of file KinematicVertex.cc.
References error(), GlobalErrorBase< T, ErrorWeightType >::matrix(), position(), vertexIsValid(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
bool KinematicVertex::operator== | ( | const ReferenceCountingPointer< KinematicVertex > | other | ) | const |
Definition at line 63 of file KinematicVertex.cc.
GlobalPoint KinematicVertex::position | ( | ) | const |
Definition at line 84 of file KinematicVertex.cc.
References VertexState::position(), and theState.
Referenced by operator==().
|
private |
ReferenceCountingPointer< KinematicVertex > KinematicVertex::vertexBeforeConstraint | ( | ) | const |
Previous (before constraint) state of the vertex
Definition at line 106 of file KinematicVertex.cc.
References pVertex.
bool KinematicVertex::vertexIsValid | ( | ) | const |
Access methods Checking the validity of the vertex Example: production vertex for the first decayed particle or decay vertices of final state particles can be invalid since we don't know them.
Definition at line 78 of file KinematicVertex.cc.
References vl.
Referenced by operator==().
VertexState KinematicVertex::vertexState | ( | ) | const |
|
friend |
Definition at line 25 of file KinematicVertex.h.
|
mutableprivate |
Definition at line 124 of file KinematicVertex.h.
Referenced by KinematicVertex(), and vertexBeforeConstraint().
|
private |
Definition at line 122 of file KinematicVertex.h.
Referenced by chiSquared(), and KinematicVertex().
|
private |
Definition at line 123 of file KinematicVertex.h.
Referenced by degreesOfFreedom(), and KinematicVertex().
|
private |
Definition at line 119 of file KinematicVertex.h.
Referenced by error(), KinematicVertex(), position(), and vertexState().
|
mutableprivate |
Definition at line 116 of file KinematicVertex.h.
Referenced by svgfig.SVG::__str__(), correspondingTree(), KinematicVertex(), python.cmstools.EventTree::SetAlias(), and setTreePointer().
|
mutableprivate |
Definition at line 117 of file KinematicVertex.h.
Referenced by KinematicVertex(), and vertexIsValid().