File indexing completed on 2024-04-06 12:31:34
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
0013 return err5.similarity(H);
0014 }