CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/TrackingTools/PatternTools/src/MeasurementExtractor.cc

Go to the documentation of this file.
00001 #include "TrackingTools/PatternTools/interface/MeasurementExtractor.h"
00002 
00003 AlgebraicVector MeasurementExtractor::measuredParameters(const TransientTrackingRecHit& hit) {
00004   AlgebraicVector par5( asHepVector( theTSoS.localParameters().vector() ) );
00005   AlgebraicMatrix H( hit.projectionMatrix());
00006   return H*par5;
00007 }
00008 
00009 AlgebraicSymMatrix MeasurementExtractor::measuredError(const TransientTrackingRecHit& hit) {
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 }