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
class-composition.H
H
Definition: class-composition.py:31
TrajectoryStateOnSurface.h
MeasurementExtractor::MeasurementExtractor
MeasurementExtractor(const TrajectoryStateOnSurface &aTSoS)
Definition: MeasurementExtractor.h:14
AlgebraicROOTObject::SymMatrix
ROOT::Math::SMatrix< double, D1, D1, ROOT::Math::MatRepSym< double, D1 > > SymMatrix
Definition: AlgebraicROOTObjects.h:68
TransientTrackingRecHit.h
LocalTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition: LocalTrajectoryError.h:60
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MeasurementExtractor::measuredError
AlgebraicROOTObject< D >::SymMatrix measuredError(const TrackingRecHit &hit)
Definition: MeasurementExtractor.h:33
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
MeasurementExtractor::measuredParameters
AlgebraicROOTObject< D >::Vector measuredParameters(const TrackingRecHit &hit)
Definition: MeasurementExtractor.h:25
LocalTrajectoryParameters::vector
AlgebraicVector5 vector() const
Definition: LocalTrajectoryParameters.h:120
MeasurementExtractor
Definition: MeasurementExtractor.h:11
TrajectoryStateOnSurface::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition: TrajectoryStateOnSurface.h:73
MeasurementExtractor::measuredError
AlgebraicSymMatrix measuredError(const TrackingRecHit &)
Definition: MeasurementExtractor.cc:9
MeasurementExtractor::theTSoS
const TrajectoryStateOnSurface & theTSoS
Definition: MeasurementExtractor.h:41
AlgebraicROOTObject::Matrix
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
Definition: AlgebraicROOTObjects.h:69
MeasurementExtractor::measuredParameters
AlgebraicVector measuredParameters(const TrackingRecHit &)
Definition: MeasurementExtractor.cc:3
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition: AlgebraicObjects.h:15
AlgebraicVector5
ROOT::Math::SVector< double, 5 > AlgebraicVector5
Definition: AlgebraicROOTObjects.h:14
TrackingRecHit
Definition: TrackingRecHit.h:21
TrajectoryStateOnSurface::localError
const LocalTrajectoryError & localError() const
Definition: TrajectoryStateOnSurface.h:77
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23
AlgebraicROOTObject::Vector
ROOT::Math::SVector< double, D1 > Vector
Definition: AlgebraicROOTObjects.h:67
hit
Definition: SiStripHitEffFromCalibTree.cc:88