CMS 3D CMS Logo

Public Member Functions | Private Attributes

MeasurementExtractor Class Reference

#include <MeasurementExtractor.h>

List of all members.

Public Member Functions

AlgebraicSymMatrix measuredError (const TransientTrackingRecHit &)
template<unsigned int D>
AlgebraicROOTObject< D >::SymMatrix measuredError (const TransientTrackingRecHit &hit)
template<unsigned int D>
AlgebraicROOTObject< D >::Vector measuredParameters (const TransientTrackingRecHit &hit)
AlgebraicVector measuredParameters (const TransientTrackingRecHit &)
 MeasurementExtractor (const TrajectoryStateOnSurface &aTSoS)

Private Attributes

const TrajectoryStateOnSurfacetheTSoS

Detailed Description

Extracts the subset of TrajectoryState parameters and errors that correspond to the parameters measured by a RecHit.

Definition at line 12 of file MeasurementExtractor.h.


Constructor & Destructor Documentation

MeasurementExtractor::MeasurementExtractor ( const TrajectoryStateOnSurface aTSoS) [inline]

Definition at line 15 of file MeasurementExtractor.h.

                                                              :
    theTSoS(aTSoS) {}

Member Function Documentation

AlgebraicSymMatrix MeasurementExtractor::measuredError ( const TransientTrackingRecHit hit)
template<unsigned int D>
AlgebraicROOTObject<D>::SymMatrix MeasurementExtractor::measuredError ( const TransientTrackingRecHit hit) [inline]

Definition at line 33 of file MeasurementExtractor.h.

References TrajectoryStateOnSurface::localError(), LocalTrajectoryError::matrix(), TrackingRecHit::projectionMatrix(), and theTSoS.

                                                                                                                       {
      typedef typename AlgebraicROOTObject<D,5>::Matrix Mat;
      const AlgebraicSymMatrix55 &err5 =  theTSoS.localError().matrix();
      Mat H = asSMatrix<D,5>( hit.projectionMatrix() );
      return ROOT::Math::Similarity(H,err5); 
  }
template<unsigned int D>
AlgebraicROOTObject<D>::Vector MeasurementExtractor::measuredParameters ( const TransientTrackingRecHit hit) [inline]
AlgebraicVector MeasurementExtractor::measuredParameters ( const TransientTrackingRecHit hit)

Member Data Documentation

Definition at line 41 of file MeasurementExtractor.h.

Referenced by measuredError(), and measuredParameters().