1 #ifndef DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_
2 #define DataFormats_TrackingRecHit_interface_KfComponentsHolder_h_
11 #define Debug_KfComponentsHolder
17 #ifdef Debug_KfComponentsHolder
22 template <
unsigned int D>
36 template <
unsigned int D>
48 template <
unsigned int D>
50 #ifdef Debug_KfComponentsHolder
56 template <
unsigned int D>
58 #ifdef Debug_KfComponentsHolder
64 template <
unsigned int D>
66 #ifdef Debug_KfComponentsHolder
72 template <
unsigned int D>
74 #ifdef Debug_KfComponentsHolder
83 template <
unsigned int D>
85 #ifdef Debug_KfComponentsHolder
91 template <
unsigned int D>
93 #ifdef Debug_KfComponentsHolder
105 template<
unsigned int D>
void dump() ;
107 #ifdef Debug_KfComponentsHolder
116 template<
unsigned int D>
123 template<
unsigned int D>
134 #ifdef Debug_KfComponentsHolder
148 template<
unsigned int D>
151 cout <<
"Params my: " << params<D>() << endl;
153 cout <<
" meas: " << measuredParams<D>() << endl;
154 cout <<
"Errors my:\n" << errors<D>() << endl;
156 cout <<
" meas:\n" << measuredErrors<D>() << endl;
157 cout <<
"Projection:\n" << projection<D>() << endl;
160 #ifdef Debug_KfComponentsHolder
162 #undef Debug_KfComponentsHolder
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
void setup(typename AlgebraicROOTObject< D >::Vector *params, typename AlgebraicROOTObject< D, D >::SymMatrix *errors, typename AlgebraicROOTObject< D, 5 >::Matrix *projection, ProjectMatrix< double, 5, D > *projFunc, typename AlgebraicROOTObject< D >::Vector *measuredParams, typename AlgebraicROOTObject< D, D >::SymMatrix *measuredErrors, const AlgebraicVector5 &tsosLocalParameters, const AlgebraicSymMatrix55 &tsosLocalErrors)
AlgebraicROOTObject< D >::Vector & params()
ROOT::Math::SVector< double, D1 > Vector
ROOT::Math::SVector< double, 5 > AlgebraicVector5
const AlgebraicVector5 & tsosLocalParameters() const
const AlgebraicSymMatrix55 * tsosLocalErrors_
AlgebraicROOTObject< D >::Vector & measuredParams()
volatile std::atomic< bool > shutdown_flag false
AlgebraicROOTObject< D, D >::SymMatrix & errors()
AlgebraicROOTObject< D, 5 >::Matrix & projection()
const AlgebraicSymMatrix55 & tsosLocalErrors() const
ProjectMatrix< double, 5, D > & projFunc()
DecomposeProduct< arg, typename Div::arg > D
const AlgebraicVector5 * tsosLocalParameters_