the product of a fit). Can be used for calculating the uncertainties on observables such as Fit fractions, or for producing uncertainty bands in predictions on figures. Usage is
Definition at line 32 of file ErrorPropagator.h.
|
| LinearErrorPropagator (const std::vector< MinuitParameter * > ¶ms) |
| < Constructor for LinearErrorPropagator taking a vector of free parameters, assumes a diagonal covariance matrix taking the parameter uncertainties.
|
|
| LinearErrorPropagator (const MinuitParameterSet ¶ms) |
| Constructor for LinearErrorPropagator, taking a covariance matrix and a vector parameters.
|
|
| LinearErrorPropagator (const TMatrixD &reducedCovarianceMatrix, const std::vector< MinuitParameter * > ¶ms) |
| Calculates the uncertainty on functor fcn.
|
|
template<class FCN> |
double | operator() (FCN fcn) const |
| Calculates the error on functor fcn (should take no arguments and return a double).
|
|
double | getError (const std::function< double(void)> &fcn) const |
| Calculate the uncertainties on a functor that returns a vector of size RANK.
|
|
std::vector< double > | getVectorError (const std::function< std::vector< double >(void)> &fcn, size_t RANK) const |
|
std::vector< double > | combinationWeights (const std::vector< std::function< double(void)> > &functions) |
| Calculate the variance-covariance matrix of functor set functions.
|
|
TMatrixD | covarianceMatrix (const std::vector< std::function< double(void)> > &functions) |
|
TMatrixD | correlationMatrix (const std::vector< std::function< double(void)> > &functions) |
| Calculate the correlation matrix of functor set functions.
|
|
std::pair< double, double > | combinationCovWeighted (const std::vector< std::function< double(void)> > &functions) |
| Calculate the covariance-matrix weighted combination of functor set functions.
|
|
void | add (const LinearErrorPropagator &p2) |
|
void | reset () |
|
size_t | size () const |
|
const TMatrixD & | cov () const |
|
const std::map< std::string, size_t > | posMap () const |
|
const std::vector< MinuitParameter * > & | params () const |
|