#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 AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &pos, const double time, const GlobalError &posTimeErr, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &pos, const double time, const GlobalWeight &posTimeWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const AlgebraicVector4 &weightTimesPosition, const GlobalWeight &posTimeWeight, const std::vector< RefCountedVertexTrack > &tks, float totalChiSq) | |
CachingVertex (const GlobalPoint &priorPos, const GlobalError &priorErr, const AlgebraicVector4 &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 double priorTime, const GlobalError &priorErr, const GlobalPoint &pos, const double time, 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 double priorTime, const GlobalError &priorErr, const GlobalPoint &pos, const double time, 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 |
GlobalError | error4D () const |
bool | hasPrior () const |
bool | is4D () const |
bool | isValid () const |
operator TransientVertex () const | |
GlobalPoint | position () const |
GlobalError | priorError () const |
GlobalError | priorError4D () const |
GlobalPoint | priorPosition () const |
double | priorTime () const |
VertexState const & | priorVertexState () const |
double | time () const |
AlgebraicMatrixMM | tkToTkCovariance (const RefCountedVertexTrack t1, const RefCountedVertexTrack t2) const |
bool | tkToTkCovarianceIsAvailable () const |
float | totalChiSquared () const |
std::vector< RefCountedVertexTrack > | tracks () const |
const std::vector< RefCountedVertexTrack > & | tracksRef () const |
VertexState const & | vertexState () const |
GlobalWeight | weight () const |
GlobalWeight | weight4D () const |
AlgebraicVector3 | weightTimesPosition () const |
AlgebraicVector4 | weightTimesPosition4D () 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 | vertexIs4D |
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 22 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 26 of file CachingVertex.h.
typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > CachingVertex< N >::AlgebraicSymMatrixNN |
Definition at line 25 of file CachingVertex.h.
typedef ReferenceCountingPointer<VertexTrack<N> > CachingVertex< N >::RefCountedVertexTrack |
Definition at line 24 of file CachingVertex.h.
typedef std::map<RefCountedVertexTrack, AlgebraicMatrixMM> CachingVertex< N >::TrackMap |
Definition at line 27 of file CachingVertex.h.
typedef std::map<RefCountedVertexTrack, TrackMap> CachingVertex< N >::TrackToTrackMap |
Definition at line 28 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 47 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 80 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 241 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | pos, |
const double | time, | ||
const GlobalError & | posTimeErr, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 28 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | pos, |
const double | time, | ||
const GlobalWeight & | posTimeWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 63 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const AlgebraicVector4 & | weightTimesPosition, |
const GlobalWeight & | posTimeWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 96 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const GlobalError & | priorErr, | ||
const AlgebraicVector4 & | weightTimesPosition, | ||
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 259 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 161 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const double | priorTime, | ||
const GlobalError & | priorErr, | ||
const GlobalPoint & | pos, | ||
const double | time, | ||
const GlobalError & | posErr, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 180 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 201 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const GlobalPoint & | priorPos, |
const double | priorTime, | ||
const GlobalError & | priorErr, | ||
const GlobalPoint & | pos, | ||
const double | time, | ||
const GlobalWeight & | posWeight, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 220 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | aVertexState, |
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 111 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | priorVertexState, |
const VertexState & | aVertexState, | ||
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq | ||
) |
Definition at line 144 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | const VertexState & | aVertexState, |
const std::vector< RefCountedVertexTrack > & | tks, | ||
float | totalChiSq, | ||
const TrackToTrackMap & | covMap | ||
) |
Definition at line 125 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 276 of file CachingVertex.cc.
CachingVertex< N >::CachingVertex | ( | ) |
Constructor for invalid CachingVertex
Definition at line 297 of file CachingVertex.cc.
|
private |
Definition at line 355 of file CachingVertex.cc.
float CachingVertex< N >::degreesOfFreedom | ( | ) | const |
GlobalError CachingVertex< N >::error | ( | ) | const |
Definition at line 318 of file CachingVertex.cc.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), and reco::GhostTrackVertexFinder::vertexCompat().
GlobalError CachingVertex< N >::error4D | ( | ) | const |
Definition at line 323 of file CachingVertex.cc.
|
inline |
Definition at line 153 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), GsfVertexMerger::merge(), and KalmanVertexUpdator< 5 >::update().
|
inline |
Definition at line 155 of file CachingVertex.h.
|
inline |
Definition at line 154 of file CachingVertex.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), GsfVertexTrackCompatibilityEstimator::estimateNFittedTrack(), KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack(), DisappearingMuonsSkimming::filter(), SequentialVertexFitter< 5 >::fit(), core.AutoHandle.AutoHandle::ReallyLoad(), and reco::GhostTrackVertexFinder::vertices().
CachingVertex< N >::operator TransientVertex | ( | ) | const |
Definition at line 404 of file CachingVertex.cc.
GlobalPoint CachingVertex< N >::position | ( | ) | const |
Definition at line 308 of file CachingVertex.cc.
Referenced by DisappearingMuonsSkimming::filter(), AdaptiveVertexFitter::fit(), SequentialVertexFitter< 5 >::fit(), AdaptiveVertexFitter::reWeightTracks(), MultiVertexFitter::updateSeeds(), and reco::GhostTrackVertexFinder::vertexCompat().
|
inline |
Definition at line 151 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), and GsfVertexMerger::merge().
|
inline |
Definition at line 152 of file CachingVertex.h.
|
inline |
Definition at line 149 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), and GsfVertexMerger::merge().
|
inline |
Definition at line 150 of file CachingVertex.h.
|
inline |
Definition at line 138 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::priorError(), CachingVertex< 5 >::priorError4D(), CachingVertex< 5 >::priorPosition(), CachingVertex< 5 >::priorTime(), and KalmanVertexUpdator< 5 >::update().
double CachingVertex< N >::time | ( | ) | const |
Definition at line 313 of file CachingVertex.cc.
CachingVertex< N >::AlgebraicMatrixMM CachingVertex< N >::tkToTkCovariance | ( | const RefCountedVertexTrack | t1, |
const RefCountedVertexTrack | t2 | ||
) | const |
Track to track covariance
Definition at line 369 of file CachingVertex.cc.
|
inline |
Definition at line 165 of file CachingVertex.h.
|
inline |
Chi2, degrees of freedom. The latter may not be integer.
Definition at line 159 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), GsfVertexTrackCompatibilityEstimator::estimateNFittedTrack(), KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack(), DisappearingMuonsSkimming::filter(), GsfVertexMerger::merge(), and KalmanVertexUpdator< 5 >::update().
|
inline |
Definition at line 147 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), GsfVertexMerger::merge(), reco::GhostTrackVertexFinder::mergeVertices(), and KalmanVertexUpdator< 5 >::update().
|
inline |
Definition at line 148 of file CachingVertex.h.
|
inline |
Access methods
Definition at line 137 of file CachingVertex.h.
Referenced by GsfVertexUpdator::add(), SequentialVertexFitter< 5 >::fit(), GsfVertexMerger::merge(), reco::GhostTrackVertexFinder::mergeVertices(), AdaptiveVertexFitter::reLinearizeTracks(), AdaptiveVertexFitter::reWeightTracks(), KalmanVertexUpdator< 5 >::update(), and KVFHelper< 5 >::vertexChi2().
GlobalWeight CachingVertex< N >::weight | ( | ) | const |
Definition at line 328 of file CachingVertex.cc.
GlobalWeight CachingVertex< N >::weight4D | ( | ) | const |
Definition at line 333 of file CachingVertex.cc.
AlgebraicVector3 CachingVertex< N >::weightTimesPosition | ( | ) | const |
Definition at line 338 of file CachingVertex.cc.
AlgebraicVector4 CachingVertex< N >::weightTimesPosition4D | ( | ) | const |
Definition at line 343 of file CachingVertex.cc.
|
private |
Definition at line 173 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::totalChiSquared().
|
private |
Definition at line 177 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::CachingVertex().
|
private |
Definition at line 178 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::CachingVertex(), and CachingVertex< 5 >::tkToTkCovarianceIsAvailable().
|
mutableprivate |
Definition at line 174 of file CachingVertex.h.
|
mutableprivate |
Definition at line 175 of file CachingVertex.h.
|
mutableprivate |
Definition at line 179 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::priorVertexState().
|
private |
Definition at line 176 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::tracks(), and CachingVertex< 5 >::tracksRef().
|
private |
Definition at line 182 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::isValid().
|
mutableprivate |
Definition at line 172 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::vertexState().
|
private |
Definition at line 183 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::is4D().
|
private |
Definition at line 180 of file CachingVertex.h.
Referenced by CachingVertex< 5 >::hasPrior().