1 #ifndef DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_
2 #define DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_
16 #ifdef Debug_KfComponentsHolder
21 template <
unsigned int D>
30 template <
unsigned int D>
32 #ifdef Debug_KfComponentsHolder
38 template <
unsigned int D>
40 #ifdef Debug_KfComponentsHolder
46 template <
unsigned int D>
48 #ifdef Debug_KfComponentsHolder
51 return this->projFunc<D>().
matrix();
55 template <
unsigned int D>
57 #ifdef Debug_KfComponentsHolder
66 template <
unsigned int D>
68 #ifdef Debug_KfComponentsHolder
74 template <
unsigned int D>
76 #ifdef Debug_KfComponentsHolder
85 template <
unsigned int D>
89 #ifdef Debug_KfComponentsHolder
96 template <
unsigned int D>
100 template <
unsigned int D>
108 #ifdef Debug_KfComponentsHolder
121 template <
unsigned int D>
124 cout <<
"Params my: " << params<D>() << endl;
126 cout <<
" meas: " << measuredParams<D>() << endl;
127 cout <<
"Errors my:\n" << errors<D>() << endl;
129 cout <<
" meas:\n" << measuredErrors<D>() << endl;
130 cout <<
"Projection:\n" << projection<D>() << endl;
133 #ifdef Debug_KfComponentsHolder
135 #undef Debug_KfComponentsHolder
void setup(typename AlgebraicROOTObject< D >::Vector *params, typename AlgebraicROOTObject< D, D >::SymMatrix *errors, ProjectMatrix< double, 5, D > *projFunc, typename AlgebraicROOTObject< D >::Vector *measuredParams, typename AlgebraicROOTObject< D, D >::SymMatrix *measuredErrors, const AlgebraicVector5 &tsosLocalParameters, const AlgebraicSymMatrix55 &tsosLocalErrors)
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
AlgebraicROOTObject< D, 5 >::Matrix projection()
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
ROOT::Math::SVector< double, 5 > AlgebraicVector5
AlgebraicROOTObject< D >::Vector & params()
AlgebraicROOTObject< D, D >::SymMatrix & errors()
ProjectMatrix< double, 5, D > & projFunc()
DecomposeProduct< arg, typename Div::arg > D
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
const AlgebraicVector5 & tsosLocalParameters() const
const AlgebraicSymMatrix55 * tsosLocalErrors_
ROOT::Math::SVector< double, D1 > Vector
AlgebraicROOTObject< D >::Vector & measuredParams()
const AlgebraicSymMatrix55 & tsosLocalErrors() const
const AlgebraicVector5 * tsosLocalParameters_