#include <TrackingTools/PatternTools/interface/MeasurementExtractor.h>
Public Member Functions | |
template<unsigned int D> | |
AlgebraicROOTObject< D >::SymMatrix | measuredError (const TransientTrackingRecHit &hit) |
AlgebraicSymMatrix | measuredError (const TransientTrackingRecHit &) |
template<unsigned int D> | |
AlgebraicROOTObject< D >::Vector | measuredParameters (const TransientTrackingRecHit &hit) |
AlgebraicVector | measuredParameters (const TransientTrackingRecHit &) |
MeasurementExtractor (const TrajectoryStateOnSurface &aTSoS) | |
Private Attributes | |
const TrajectoryStateOnSurface & | theTSoS |
Definition at line 12 of file MeasurementExtractor.h.
MeasurementExtractor::MeasurementExtractor | ( | const TrajectoryStateOnSurface & | aTSoS | ) | [inline] |
AlgebraicROOTObject<D>::SymMatrix MeasurementExtractor::measuredError | ( | const TransientTrackingRecHit & | hit | ) | [inline] |
Definition at line 33 of file MeasurementExtractor.h.
References err5, TrajectoryStateOnSurface::localError(), LocalTrajectoryError::matrix(), TrackingRecHit::projectionMatrix(), and theTSoS.
00033 { 00034 typedef typename AlgebraicROOTObject<D,5>::Matrix Mat; 00035 const AlgebraicSymMatrix55 &err5 = theTSoS.localError().matrix(); 00036 Mat H = asSMatrix<D,5>( hit.projectionMatrix() ); 00037 return ROOT::Math::Similarity(H,err5); 00038 }
AlgebraicSymMatrix MeasurementExtractor::measuredError | ( | const TransientTrackingRecHit & | hit | ) |
Definition at line 9 of file MeasurementExtractor.cc.
References asHepMatrix(), err5, TrajectoryStateOnSurface::localError(), LocalTrajectoryError::matrix(), TrackingRecHit::projectionMatrix(), and theTSoS.
Referenced by CkfDebugger::analyseRecHitExistance(), TestTrackHits::computeChi2Increment(), CkfDebugger::computePulls(), and MRHChi2MeasurementEstimator::estimate().
00009 { 00010 AlgebraicSymMatrix err5( asHepMatrix( theTSoS.localError().matrix() ) ); 00011 AlgebraicMatrix H( hit.projectionMatrix()); 00012 // return AlgebraicSymMatrix( H * err5 * H.T()); 00013 return err5.similarity(H); 00014 }
AlgebraicROOTObject<D>::Vector MeasurementExtractor::measuredParameters | ( | const TransientTrackingRecHit & | hit | ) | [inline] |
Definition at line 26 of file MeasurementExtractor.h.
References TrajectoryStateOnSurface::localParameters(), TrackingRecHit::projectionMatrix(), theTSoS, and LocalTrajectoryParameters::vector().
00026 { 00027 typedef typename AlgebraicROOTObject<D,5>::Matrix Mat; 00028 AlgebraicVector5 par5( theTSoS.localParameters().vector()); 00029 Mat H = asSMatrix<D,5>( hit.projectionMatrix() ); 00030 return H*par5; 00031 }
AlgebraicVector MeasurementExtractor::measuredParameters | ( | const TransientTrackingRecHit & | hit | ) |
Definition at line 3 of file MeasurementExtractor.cc.
References asHepVector(), TrajectoryStateOnSurface::localParameters(), TrackingRecHit::projectionMatrix(), theTSoS, and LocalTrajectoryParameters::vector().
Referenced by CkfDebugger::analyseRecHitExistance(), TestTrackHits::computeChi2Increment(), CkfDebugger::computePulls(), and MRHChi2MeasurementEstimator::estimate().
00003 { 00004 AlgebraicVector par5( asHepVector( theTSoS.localParameters().vector() ) ); 00005 AlgebraicMatrix H( hit.projectionMatrix()); 00006 return H*par5; 00007 }
const TrajectoryStateOnSurface& MeasurementExtractor::theTSoS [private] |
Definition at line 41 of file MeasurementExtractor.h.
Referenced by measuredError(), and measuredParameters().