6 template <
unsigned int D>
12 params<D>() = asSVector<D>(
hit.parameters());
13 errors<D>() = asSMatrix<D>(
hit.parametersError());
15 MatD5 &&
H = asSMatrix<D, 5>(
hit.projectionMatrix());
16 projFunc<D>().fromH(
H);
23 switch (
hit.dimension()) {
40 throw cms::Exception(
"Rec hit of invalid dimension (not 1,2,3,4,5)")
41 <<
"The dimension was " <<
hit.dimension() <<
", type is " <<
typeid(
hit).
name() <<
"\n";
void genericFill(const TrackingRecHit &hit)
Fill in datamembers from a generic TrackingRecHit using the CLHEP matrices.
void genericFill_(const TrackingRecHit &hit)
ROOT::Math::SMatrix< double, D1, D1, ROOT::Math::MatRepSym< double, D1 > > SymMatrix
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
const AlgebraicSymMatrix55 * tsosLocalErrors_
ROOT::Math::SVector< double, D1 > Vector
const AlgebraicVector5 * tsosLocalParameters_