1 #ifndef DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_ 2 #define DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_ 15 #ifdef Debug_KfComponentsHolder 20 template <
unsigned int D>
29 template <
unsigned int D>
31 #ifdef Debug_KfComponentsHolder 37 template <
unsigned int D>
39 #ifdef Debug_KfComponentsHolder 45 template <
unsigned int D>
47 #ifdef Debug_KfComponentsHolder 50 return this->projFunc<D>().
matrix();
54 template <
unsigned int D>
56 #ifdef Debug_KfComponentsHolder 65 template <
unsigned int D>
67 #ifdef Debug_KfComponentsHolder 73 template <
unsigned int D>
75 #ifdef Debug_KfComponentsHolder 84 template <
unsigned int D>
88 #ifdef Debug_KfComponentsHolder 95 template <
unsigned int D>
99 template <
unsigned int D>
107 #ifdef Debug_KfComponentsHolder 120 template <
unsigned int D>
123 cout <<
"Params my: " << params<D>() << endl;
125 cout <<
" meas: " << measuredParams<D>() << endl;
126 cout <<
"Errors my:\n" << errors<D>() << endl;
128 cout <<
" meas:\n" << measuredErrors<D>() << endl;
129 cout <<
"Projection:\n" << projection<D>() << endl;
132 #ifdef Debug_KfComponentsHolder 134 #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_