CMS 3D CMS Logo

ErrorMatrixPropagator.h
Go to the documentation of this file.
1 #ifndef ErrorMatrixPropagator_h
2 #define ErrorMatrixPropagator_h
3 
4 /* From SimpleFits Package
5  * Designed an written by
6  * author: Ian M. Nugent
7  * Humboldt Foundations
8  */
9 #include <functional>
10 
11 #include "TMatrixT.h"
12 #include "TMatrixTSym.h"
13 #include "TVectorT.h"
14 
15 namespace tauImpactParameter {
16 
18  public:
21  static TMatrixTSym<double> propagateError(std::function<TVectorT<double>(const TVectorT<double>&)> f,
22  const TVectorT<double>& inPar,
23  TMatrixTSym<double>& inCov,
24  double epsilon = 0.001,
25  double errorEpsilonRatio = 1000);
26  };
27 
28 } // namespace tauImpactParameter
29 #endif
double f[11][100]
static TMatrixTSym< double > propagateError(std::function< TVectorT< double >(const TVectorT< double > &)> f, const TVectorT< double > &inPar, TMatrixTSym< double > &inCov, double epsilon=0.001, double errorEpsilonRatio=1000)