1 #ifndef DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_ 2 #define DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_ 16 #ifdef Debug_KfComponentsHolder 21 template <
unsigned int D>
33 template <
unsigned int D>
35 #ifdef Debug_KfComponentsHolder 41 template <
unsigned int D>
43 #ifdef Debug_KfComponentsHolder 50 template <
unsigned int D>
52 #ifdef Debug_KfComponentsHolder 55 return this->projFunc<D>().
matrix();
61 template <
unsigned int D>
63 #ifdef Debug_KfComponentsHolder 72 template <
unsigned int D>
74 #ifdef Debug_KfComponentsHolder 80 template <
unsigned int D>
82 #ifdef Debug_KfComponentsHolder 92 template<
unsigned int D>
void dump() ;
94 #ifdef Debug_KfComponentsHolder 101 template<
unsigned int D>
107 template<
unsigned int D>
117 #ifdef Debug_KfComponentsHolder 130 template<
unsigned int D>
133 cout <<
"Params my: " << params<D>() << endl;
135 cout <<
" meas: " << measuredParams<D>() << endl;
136 cout <<
"Errors my:\n" << errors<D>() << endl;
138 cout <<
" meas:\n" << measuredErrors<D>() << endl;
139 cout <<
"Projection:\n" << projection<D>() << endl;
142 #ifdef Debug_KfComponentsHolder 144 #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.
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
void genericFill_(const TrackingRecHit &hit)
ROOT::Math::SMatrix< double, D1, D1, ROOT::Math::MatRepSym< double, D1 > > SymMatrix
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
AlgebraicROOTObject< D, 5 >::Matrix projection()
AlgebraicROOTObject< D >::Vector & params()
ROOT::Math::SVector< double, D1 > Vector
DecomposeProduct< arg, typename Div::arg > D
ROOT::Math::SVector< double, 5 > AlgebraicVector5
const AlgebraicVector5 & tsosLocalParameters() const
const AlgebraicSymMatrix55 * tsosLocalErrors_
AlgebraicROOTObject< D >::Vector & measuredParams()
AlgebraicROOTObject< D, D >::SymMatrix & errors()
const AlgebraicSymMatrix55 & tsosLocalErrors() const
ProjectMatrix< double, 5, D > & projFunc()
const AlgebraicVector5 * tsosLocalParameters_