src
TrackingTools
PatternTools
src
MeasurementExtractor.cc
Go to the documentation of this file.
1
#include "
TrackingTools/PatternTools/interface/MeasurementExtractor.h
"
2
3
AlgebraicVector
MeasurementExtractor::measuredParameters
(
const
TrackingRecHit
&
hit
) {
4
AlgebraicVector
par5(
asHepVector
(
theTSoS
.
localParameters
().
vector
()));
5
AlgebraicMatrix
H
(
hit
.projectionMatrix());
6
return
H
* par5;
7
}
8
9
AlgebraicSymMatrix
MeasurementExtractor::measuredError
(
const
TrackingRecHit
&
hit
) {
10
AlgebraicSymMatrix
err5(
asHepMatrix
(
theTSoS
.
localError
().
matrix
()));
11
AlgebraicMatrix
H
(
hit
.projectionMatrix());
12
// return AlgebraicSymMatrix( H * err5 * H.T());
13
return
err5.similarity(
H
);
14
}
asHepMatrix
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
Definition:
Migration.h:60
TrajectoryStateOnSurface::localError
const LocalTrajectoryError & localError() const
Definition:
TrajectoryStateOnSurface.h:77
MeasurementExtractor::measuredParameters
AlgebraicVector measuredParameters(const TrackingRecHit &)
Definition:
MeasurementExtractor.cc:3
TrackingRecHit
Definition:
TrackingRecHit.h:21
TrajectoryStateOnSurface::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition:
TrajectoryStateOnSurface.h:73
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition:
AlgebraicObjects.h:14
MeasurementExtractor::measuredError
AlgebraicSymMatrix measuredError(const TrackingRecHit &)
Definition:
MeasurementExtractor.cc:9
LocalTrajectoryParameters::vector
AlgebraicVector5 vector() const
Definition:
LocalTrajectoryParameters.h:120
data-class-funcs.H
H
Definition:
data-class-funcs.py:33
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:13
MeasurementExtractor::theTSoS
const TrajectoryStateOnSurface & theTSoS
Definition:
MeasurementExtractor.h:41
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
LocalTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition:
LocalTrajectoryError.h:60
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition:
AlgebraicObjects.h:15
MeasurementExtractor.h
asHepVector
CLHEP::HepVector asHepVector(const ROOT::Math::SVector< double, N > &v)
Definition:
Migration.h:53
Generated for CMSSW Reference Manual by
1.8.14