Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:42

0001 #include "TrackingTools/PatternTools/interface/MeasurementExtractor.h"
0002 
0003 AlgebraicVector MeasurementExtractor::measuredParameters(const TrackingRecHit& hit) {
0004   AlgebraicVector par5(asHepVector(theTSoS.localParameters().vector()));
0005   AlgebraicMatrix H(hit.projectionMatrix());
0006   return H * par5;
0007 }
0008 
0009 AlgebraicSymMatrix MeasurementExtractor::measuredError(const TrackingRecHit& hit) {
0010   AlgebraicSymMatrix err5(asHepMatrix(theTSoS.localError().matrix()));
0011   AlgebraicMatrix H(hit.projectionMatrix());
0012   //  return AlgebraicSymMatrix( H * err5 * H.T());
0013   return err5.similarity(H);
0014 }