#include <VertexTrack.h>
Public Types | |
typedef ROOT::Math::SMatrix < double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > | AlgebraicMatrix3M |
typedef ROOT::Math::SMatrix < double, N-2, N-2, ROOT::Math::MatRepStd< double, N-2, N-2 > > | AlgebraicMatrixMM |
typedef ROOT::Math::SMatrix < double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > | AlgebraicSymMatrixOO |
typedef ROOT::Math::SVector < double, N > | AlgebraicVectorN |
typedef ReferenceCountingPointer < LinearizedTrackState< N > > | RefCountedLinearizedTrackState |
typedef ReferenceCountingPointer < RefittedTrackState< N > > | RefCountedRefittedTrackState |
Public Member Functions | |
AlgebraicSymMatrixOO | fullCovariance () const |
bool | fullCovarianceAvailable () const |
RefCountedLinearizedTrackState | linearizedTrack () const |
bool | operator== (const VertexTrack< N > &data) const |
AlgebraicVectorN | refittedParamFromEquation () const |
RefCountedRefittedTrackState | refittedState () const |
bool | refittedStateAvailable () const |
float | smoothedChi2 () const |
bool | tkToVertexCovarianceAvailable () const |
VertexState | vertexState () const |
VertexTrack (const RefCountedLinearizedTrackState lt, const VertexState v, float weight) | |
VertexTrack (const RefCountedLinearizedTrackState lt, const VertexState v, float weight, const RefCountedRefittedTrackState &refittedState, float smoothedChi2) | |
VertexTrack (const RefCountedLinearizedTrackState lt, const VertexState v, float weight, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicSymMatrixOO &fullCov) | |
float | weight () const |
Private Attributes | |
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym < double, 6 > > | b6 |
ROOT::Math::SMatrix< double, 7, 7, ROOT::Math::MatRepSym < double, 7 > > | b7 |
bool | covAvailable |
AlgebraicSymMatrixOO | fullCovariance_ |
float | smoothedChi2_ |
bool | stAvailable |
RefCountedLinearizedTrackState | theLinTrack |
RefCountedRefittedTrackState | theRefittedState |
VertexState | theVertexState |
float | theWeight |
Track information relative to a track-to-vertex association. The track weight corresponds to the distance of the track to the seed position.
Definition at line 16 of file VertexTrack.h.
typedef ROOT::Math::SMatrix<double,3,N-2,ROOT::Math::MatRepStd<double,3,N-2> > VertexTrack< N >::AlgebraicMatrix3M |
Definition at line 22 of file VertexTrack.h.
typedef ROOT::Math::SMatrix<double,N-2,N-2,ROOT::Math::MatRepStd<double,N-2,N-2> > VertexTrack< N >::AlgebraicMatrixMM |
Definition at line 21 of file VertexTrack.h.
typedef ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> > VertexTrack< N >::AlgebraicSymMatrixOO |
Definition at line 23 of file VertexTrack.h.
typedef ROOT::Math::SVector<double,N> VertexTrack< N >::AlgebraicVectorN |
Definition at line 20 of file VertexTrack.h.
typedef ReferenceCountingPointer<LinearizedTrackState<N> > VertexTrack< N >::RefCountedLinearizedTrackState |
Definition at line 26 of file VertexTrack.h.
typedef ReferenceCountingPointer<RefittedTrackState<N> > VertexTrack< N >::RefCountedRefittedTrackState |
Definition at line 27 of file VertexTrack.h.
VertexTrack< N >::VertexTrack | ( | const RefCountedLinearizedTrackState | lt, |
const VertexState | v, | ||
float | weight | ||
) |
Constructor with the linearized track data, vertex seed and weight
Definition at line 5 of file VertexTrack.cc.
: theLinTrack(lt), theVertexState(v), theWeight(weight), stAvailable(false), covAvailable(false), smoothedChi2_(-1.) {}
VertexTrack< N >::VertexTrack | ( | const RefCountedLinearizedTrackState | lt, |
const VertexState | v, | ||
float | weight, | ||
const RefCountedRefittedTrackState & | refittedState, | ||
float | smoothedChi2 | ||
) |
Constructor with the linearized track data, vertex seed and weight and state at vertex, constrained by vertex
Definition at line 13 of file VertexTrack.cc.
: theLinTrack(lt), theVertexState(v), theWeight(weight), stAvailable(true), covAvailable(false), theRefittedState(refittedState), smoothedChi2_(smoothedChi2) {}
VertexTrack< N >::VertexTrack | ( | const RefCountedLinearizedTrackState | lt, |
const VertexState | v, | ||
float | weight, | ||
const RefCountedRefittedTrackState & | refittedState, | ||
float | smoothedChi2, | ||
const AlgebraicSymMatrixOO & | fullCov | ||
) |
Constructor with the linearized track data, vertex seed and weight and state and covariance at vertex, constrained by vertex
Definition at line 23 of file VertexTrack.cc.
: theLinTrack(lt), theVertexState(v), theWeight(weight), stAvailable(true), covAvailable(true), theRefittedState(refittedState), fullCovariance_(fullCov), smoothedChi2_(smoothedChi2) {}
AlgebraicSymMatrixOO VertexTrack< N >::fullCovariance | ( | ) | const [inline] |
Track to vertex covariance Track to vertex covariance
Definition at line 84 of file VertexTrack.h.
References VertexTrack< N >::fullCovariance_, and VertexTrack< N >::tkToVertexCovarianceAvailable().
{ if (!tkToVertexCovarianceAvailable()) { throw VertexException("VertexTrack::track to vertex covariance not available"); } return fullCovariance_; }
bool VertexTrack< N >::fullCovarianceAvailable | ( | ) | const [inline] |
Definition at line 58 of file VertexTrack.h.
References VertexTrack< N >::covAvailable.
{ return covAvailable; }
RefCountedLinearizedTrackState VertexTrack< N >::linearizedTrack | ( | ) | const [inline] |
Access methods
Definition at line 53 of file VertexTrack.h.
References VertexTrack< N >::theLinTrack.
Referenced by VertexTrack< N >::operator==().
{ return theLinTrack; }
bool VertexTrack< N >::operator== | ( | const VertexTrack< N > & | data | ) | const [inline] |
Equality for finding a VertexTrack in a container Compares the RecTrack addresses
Definition at line 94 of file VertexTrack.h.
References VertexTrack< N >::linearizedTrack().
{ return ((*data.linearizedTrack()) == (*linearizedTrack())); }
VertexTrack< N >::AlgebraicVectorN VertexTrack< N >::refittedParamFromEquation | ( | ) | const |
Method helping Kalman vertex fit
Definition at line 34 of file VertexTrack.cc.
{ return linearizedTrack()->refittedParamFromEquation(theRefittedState); }
RefCountedRefittedTrackState VertexTrack< N >::refittedState | ( | ) | const [inline] |
Track state with vertex constraint
Definition at line 71 of file VertexTrack.h.
References VertexTrack< N >::refittedStateAvailable(), and VertexTrack< N >::theRefittedState.
{ if (!refittedStateAvailable()) { throw VertexException("VertexTrack::refitted state not available"); } return theRefittedState; }
bool VertexTrack< N >::refittedStateAvailable | ( | ) | const [inline] |
Definition at line 56 of file VertexTrack.h.
References VertexTrack< N >::stAvailable.
Referenced by VertexTrack< N >::refittedState().
{ return stAvailable; }
float VertexTrack< N >::smoothedChi2 | ( | ) | const [inline] |
The smoother track-chi2 (can be used to test the track-vertex compatibility). Its value has a meaning only if the smoother has been run after the vertex fit (track-refit) . Otherwise, the value returned is -1.
Definition at line 66 of file VertexTrack.h.
References VertexTrack< N >::smoothedChi2_.
{ return smoothedChi2_; }
bool VertexTrack< N >::tkToVertexCovarianceAvailable | ( | ) | const [inline] |
Definition at line 57 of file VertexTrack.h.
References VertexTrack< N >::covAvailable.
Referenced by VertexTrack< N >::fullCovariance().
{ return covAvailable; }
VertexState VertexTrack< N >::vertexState | ( | ) | const [inline] |
Definition at line 54 of file VertexTrack.h.
References VertexTrack< N >::theVertexState.
{ return theVertexState; }
float VertexTrack< N >::weight | ( | void | ) | const [inline] |
Definition at line 55 of file VertexTrack.h.
References VertexTrack< N >::theWeight.
{ return theWeight; }
ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> > VertexTrack< N >::b6 [private] |
Definition at line 113 of file VertexTrack.h.
ROOT::Math::SMatrix<double,7,7,ROOT::Math::MatRepSym<double,7> > VertexTrack< N >::b7 [private] |
Definition at line 114 of file VertexTrack.h.
bool VertexTrack< N >::covAvailable [private] |
Definition at line 110 of file VertexTrack.h.
Referenced by VertexTrack< N >::fullCovarianceAvailable(), and VertexTrack< N >::tkToVertexCovarianceAvailable().
AlgebraicSymMatrixOO VertexTrack< N >::fullCovariance_ [private] |
Definition at line 112 of file VertexTrack.h.
Referenced by VertexTrack< N >::fullCovariance().
float VertexTrack< N >::smoothedChi2_ [private] |
Definition at line 115 of file VertexTrack.h.
Referenced by VertexTrack< N >::smoothedChi2().
bool VertexTrack< N >::stAvailable [private] |
Definition at line 109 of file VertexTrack.h.
Referenced by VertexTrack< N >::refittedStateAvailable().
RefCountedLinearizedTrackState VertexTrack< N >::theLinTrack [private] |
Definition at line 106 of file VertexTrack.h.
Referenced by VertexTrack< N >::linearizedTrack().
RefCountedRefittedTrackState VertexTrack< N >::theRefittedState [private] |
Definition at line 111 of file VertexTrack.h.
Referenced by VertexTrack< N >::refittedState().
VertexState VertexTrack< N >::theVertexState [private] |
Definition at line 107 of file VertexTrack.h.
Referenced by VertexTrack< N >::vertexState().
float VertexTrack< N >::theWeight [private] |
Definition at line 108 of file VertexTrack.h.
Referenced by VertexTrack< N >::weight().