CMS 3D CMS Logo

MeasurementExtractor.h
Go to the documentation of this file.
1 #ifndef MeasurementExtractor_H
2 #define MeasurementExtractor_H
3 
6 
12 public:
13  // construct
15 
16  // access
17 
18  // Following methods can be overloaded against their argument
19  // thus allowing one to have different behaviour for different RecHit types
20 
23 
24  template <unsigned int D>
26  typedef typename AlgebraicROOTObject<D, 5>::Matrix Mat;
28  Mat H = asSMatrix<D, 5>(hit.projectionMatrix());
29  return H * par5;
30  }
31 
32  template <unsigned int D>
34  typedef typename AlgebraicROOTObject<D, 5>::Matrix Mat;
36  Mat H = asSMatrix<D, 5>(hit.projectionMatrix());
37  return ROOT::Math::Similarity(H, err5);
38  }
39 
40 private:
42 };
43 
44 #endif
AlgebraicROOTObject< D >::Vector measuredParameters(const TrackingRecHit &hit)
const LocalTrajectoryError & localError() const
ROOT::Math::SMatrix< double, D1, D1, ROOT::Math::MatRepSym< double, D1 > > SymMatrix
MeasurementExtractor(const TrajectoryStateOnSurface &aTSoS)
AlgebraicVector measuredParameters(const TrackingRecHit &)
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
AlgebraicSymMatrix measuredError(const TrackingRecHit &)
AlgebraicVector5 vector() const
ROOT::Math::SVector< double, 5 > AlgebraicVector5
CLHEP::HepVector AlgebraicVector
const TrajectoryStateOnSurface & theTSoS
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicROOTObject< D >::SymMatrix measuredError(const TrackingRecHit &hit)
ROOT::Math::SVector< double, D1 > Vector
const AlgebraicSymMatrix55 & matrix() const
CLHEP::HepSymMatrix AlgebraicSymMatrix