Main Page
Namespaces
Classes
Package Documentation
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:54
TrajectoryStateOnSurface::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition:
TrajectoryStateOnSurface.h:107
MeasurementExtractor::measuredParameters
AlgebraicVector measuredParameters(const TrackingRecHit &)
Definition:
MeasurementExtractor.cc:3
TrackingRecHit
Definition:
TrackingRecHit.h:23
LocalTrajectoryParameters::vector
AlgebraicVector5 vector() const
Definition:
LocalTrajectoryParameters.h:125
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition:
AlgebraicObjects.h:13
MeasurementExtractor::measuredError
AlgebraicSymMatrix measuredError(const TrackingRecHit &)
Definition:
MeasurementExtractor.cc:9
LocalTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition:
LocalTrajectoryError.h:61
TrajectoryStateOnSurface::localError
const LocalTrajectoryError & localError() const
Definition:
TrajectoryStateOnSurface.h:119
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:12
MeasurementExtractor::theTSoS
const TrajectoryStateOnSurface & theTSoS
Definition:
MeasurementExtractor.h:41
class-composition.H
H
Definition:
class-composition.py:30
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition:
AlgebraicObjects.h:14
MeasurementExtractor.h
asHepVector
CLHEP::HepVector asHepVector(const ROOT::Math::SVector< double, N > &v)
Definition:
Migration.h:48
TrackingRecHit::projectionMatrix
virtual AlgebraicMatrix projectionMatrix() const =0
Generated for CMSSW Reference Manual by
1.8.11