#include <CachingVertex.h>
Public Types | |
typedef ROOT::Math::SMatrix < double, N-2, N-2, ROOT::Math::MatRepStd< double, N-2, N-2 > > | AlgebraicMatrixMM |
typedef ROOT::Math::SMatrix < double, N, N, ROOT::Math::MatRepSym< double, N > > | AlgebraicSymMatrixNN |
typedef ReferenceCountingPointer < VertexTrack< N > > | RefCountedVertexTrack |
typedef std::map < RefCountedVertexTrack, AlgebraicMatrixMM > | TrackMap |
typedef std::map < RefCountedVertexTrack, TrackMap > | TrackToTrackMap |
Public Member Functions | |
CachingVertex (const GlobalPoint &pos, const GlobalError &posErr, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &pos, const GlobalWeight &posWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &priorPos, const GlobalError &priorErr, const GlobalPoint &pos, const GlobalError &posErr, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &priorPos, const GlobalError &priorErr, const GlobalPoint &pos, const GlobalWeight &posWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &priorPos, const GlobalError &priorErr, const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const VertexState &aVertexState, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const VertexState &priorVertexState, const VertexState &aVertexState, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const VertexState &aVertexState, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq, const TrackToTrackMap &covMap) | |
CachingVertex (const VertexState &priorVertexState, const VertexState &aVertexState, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq, const TrackToTrackMap &covMap) | |
CachingVertex () | |
float | degreesOfFreedom () const |
GlobalError | error () const |
bool | hasPrior () const |
bool | isValid () const |
operator TransientVertex () const | |
GlobalPoint | position () const |
GlobalError | priorError () const |
GlobalPoint | priorPosition () const |
VertexState const & | priorVertexState () const |
AlgebraicMatrixMM | tkToTkCovariance (const RefCountedVertexTrack t1, const RefCountedVertexTrack t2) const |
bool | tkToTkCovarianceIsAvailable () const |
float | totalChiSquared () const |
std::vector < RefCountedVertexTrack > const & | tracks () const |
std::vector < RefCountedVertexTrack > const & | tracksRef () const |
VertexState const & | vertexState () const |
GlobalWeight | weight () const |
AlgebraicVector3 | weightTimesPosition () const |
Private Member Functions | |
void | computeNDF () const |
Private Attributes | |
float | theChiSquared |
TrackToTrackMap | theCovMap |
bool | theCovMapAvailable |
float | theNDF |
bool | theNDFAvailable |
VertexState | thePriorVertexState |
std::vector < RefCountedVertexTrack > | theTracks |
bool | theValid |
VertexState | theVertexState |
bool | withPrior |
Class for vertices fitted with Kalman and linear fit algorithms. Provides access to temporary data to speed up the vertex update.
Definition at line 25 of file CachingVertex.h.
typedef ROOT::Math::SMatrix<double,N-2,N-2,ROOT::Math::MatRepStd<double,N-2,N-2> > CachingVertex< N >::AlgebraicMatrixMM |
Definition at line 31 of file CachingVertex.h.
typedef ROOT::Math::SMatrix<double,N,N,ROOT::Math::MatRepSym<double,N> > CachingVertex< N >::AlgebraicSymMatrixNN |
Definition at line 30 of file CachingVertex.h.
typedef ReferenceCountingPointer<VertexTrack<N> > CachingVertex< N >::RefCountedVertexTrack |
Definition at line 29 of file CachingVertex.h.
typedef std::map<RefCountedVertexTrack, AlgebraicMatrixMM > CachingVertex< N >::TrackMap |
Definition at line 32 of file CachingVertex.h.
typedef std::map<RefCountedVertexTrack, TrackMap > CachingVertex< N >::TrackToTrackMap |
Definition at line 33 of file CachingVertex.h.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Constructors
Definition at line 10 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 24 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 37 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const GlobalError & | priorErr, | ||
const GlobalPoint & | pos, | ||
const GlobalError & | posErr, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 84 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const GlobalError & | priorErr, | ||
const GlobalPoint & | pos, | ||
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 99 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const GlobalError & | priorErr, | ||
const AlgebraicVector3 & | weightTimesPosition, | ||
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 114 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | aVertexState, |
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 48 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | priorVertexState, |
const VertexState & | aVertexState, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 72 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | aVertexState, |
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq, | ||
const TrackToTrackMap & | covMap | ||
) |
Definition at line 59 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | priorVertexState, |
const VertexState & | aVertexState, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq, | ||
const TrackToTrackMap & | covMap | ||
) |
Definition at line 128 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | ) |
Constructor for invalid CachingVertex
Definition at line 142 of file CachingVertex.cc.
|
private |
Definition at line 185 of file CachingVertex.cc.
float CachingVertex< N >::degreesOfFreedom | ( | ) | const |
Definition at line 177 of file CachingVertex.cc.
Referenced by KinematicVertex::KinematicVertex().
GlobalError CachingVertex< N >::error | ( | ) | const |
Definition at line 156 of file CachingVertex.cc.
Referenced by KinematicVertex::KinematicVertex().
|
inline |
Definition at line 95 of file CachingVertex.h.
Referenced by KalmanSmoothedVertexChi2Estimator< N >::estimate(), GsfVertexMerger::merge(), and SequentialVertexSmoother< N >::smooth().
|
inline |
Definition at line 96 of file CachingVertex.h.
Referenced by SingleTrackVertexConstraint::constrain(), GsfVertexTrackCompatibilityEstimator::estimateNFittedTrack(), KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack(), KinematicParticleVertexFitter::fit(), core.AutoHandle.AutoHandle::ReallyLoad(), TrimmedVertexFinder::theWorst(), ReconstructorFromFitter::vertices(), and TrimmedVertexFinder::vertices().
CachingVertex< N >::operator TransientVertex | ( | ) | const |
Definition at line 238 of file CachingVertex.cc.
GlobalPoint CachingVertex< N >::position | ( | ) | const |
Definition at line 149 of file CachingVertex.cc.
Referenced by SingleTrackVertexConstraint::constrain(), KinematicVertex::KinematicVertex(), SequentialVertexSmoother< N >::smooth(), and InvariantMassFromVertex::uncertainty().
|
inline |
Definition at line 94 of file CachingVertex.h.
Referenced by GsfVertexMerger::merge(), and SequentialVertexSmoother< N >::smooth().
|
inline |
Definition at line 93 of file CachingVertex.h.
Referenced by GsfVertexMerger::merge(), and SequentialVertexSmoother< N >::smooth().
|
inline |
Definition at line 86 of file CachingVertex.h.
Referenced by KalmanSmoothedVertexChi2Estimator< N >::estimate(), CachingVertex< 5 >::priorError(), CachingVertex< 5 >::priorPosition(), and SequentialVertexSmoother< N >::smooth().
CachingVertex< N >::AlgebraicMatrixMM CachingVertex< N >::tkToTkCovariance | ( | const RefCountedVertexTrack | t1, |
const RefCountedVertexTrack | t2 | ||
) | const |
Track to track covariance
Definition at line 200 of file CachingVertex.cc.
Referenced by InvariantMassFromVertex::uncertainty().
|
inline |
Definition at line 107 of file CachingVertex.h.
Referenced by InvariantMassFromVertex::invariantMass(), InvariantMassFromVertex::momentum(), and InvariantMassFromVertex::p4().
|
inline |
Chi2, degrees of freedom. The latter may not be integer.
Definition at line 100 of file CachingVertex.h.
Referenced by GsfVertexTrackCompatibilityEstimator::estimateNFittedTrack(), KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack(), KinematicVertex::KinematicVertex(), GsfVertexMerger::merge(), and SequentialVertexSmoother< N >::smooth().
|
inline |
Definition at line 91 of file CachingVertex.h.
Referenced by KalmanSmoothedVertexChi2Estimator< N >::estimate(), GsfVertexTrackCompatibilityEstimator::estimate(), InvariantMassFromVertex::invariantMass(), GsfVertexMerger::merge(), InvariantMassFromVertex::momentum(), InvariantMassFromVertex::p4(), SequentialVertexSmoother< N >::smooth(), TrimmedVertexFinder::theWorst(), InvariantMassFromVertex::uncertainty(), and TrimmedVertexFinder::vertices().
|
inline |
Definition at line 92 of file CachingVertex.h.
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::estimate().
|
inline |
Access methods
Definition at line 85 of file CachingVertex.h.
Referenced by KalmanSmoothedVertexChi2Estimator< N >::estimate(), GsfVertexTrackCompatibilityEstimator::estimate(), KalmanVertexTrackCompatibilityEstimator< N >::estimate(), GsfVertexMerger::merge(), SequentialVertexSmoother< N >::smooth(), KalmanVertexTrackUpdator< N >::update(), and KVFHelper< N >::vertexChi2().
GlobalWeight CachingVertex< N >::weight | ( | void | ) | const |
Definition at line 163 of file CachingVertex.cc.
Referenced by SequentialVertexSmoother< N >::smooth().
AlgebraicVector3 CachingVertex< N >::weightTimesPosition | ( | ) | const |
Definition at line 170 of file CachingVertex.cc.
|
private |
Definition at line 116 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::totalChiSquared().
|
private |
Definition at line 120 of file CachingVertex.h.
|
private |
Definition at line 121 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::tkToTkCovarianceIsAvailable().
|
mutableprivate |
Definition at line 117 of file CachingVertex.h.
|
mutableprivate |
Definition at line 118 of file CachingVertex.h.
|
mutableprivate |
Definition at line 122 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::priorVertexState().
|
private |
Definition at line 119 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::tracks(), and CachingVertex< 5 >::tracksRef().
|
private |
Definition at line 125 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::isValid().
|
mutableprivate |
Definition at line 115 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::vertexState().
|
private |
Definition at line 123 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::hasPrior().