#include <CalibrationDataContainer.h>
Public Member Functions | |
CalibrationDataFunctionContainer (const char *name="default") | |
virtual CalibrationStatus | getResult (const CalibrationDataVariables &x, double &result, TObject *obj=0, bool=false) const |
virtual CalibrationStatus | getStatUncertainty (const CalibrationDataVariables &x, double &result) const |
virtual CalibrationStatus | getUncertainty (const std::string &unc, const CalibrationDataVariables &x, UncertaintyResult &result, TObject *obj=0) const |
void | setLowerBound (int vartype, double bound) |
void | setUpperBound (int vartype, double bound) |
This is the class holding information for function-based calibration results.
CalibrationStatus CalibrationDataFunctionContainer::getResult | ( | const CalibrationDataVariables & | x, | |
double & | result, | |||
TObject * | obj = 0 , |
|||
bool | extrapolate = false | |||
) | const [virtual] |
retrieve the calibration result.
x | user-supplied (kinematic or other) variables | |
result | requested result | |
obj | object holding the requested result (it will be computed if not provided) | |
extrapolate | flag that extrapolation applies (should only be relevant when using eigenvector variations) |
Implements Analysis::CalibrationDataContainer.
CalibrationStatus CalibrationDataFunctionContainer::getStatUncertainty | ( | const CalibrationDataVariables & | x, | |
double & | result | |||
) | const [virtual] |
retrieve the calibration statistical uncertainty.
x | user-supplied (kinematic or other) variables | |
result | requested statistical uncertainty |
Implements Analysis::CalibrationDataContainer.
CalibrationStatus CalibrationDataFunctionContainer::getUncertainty | ( | const std::string & | unc, | |
const CalibrationDataVariables & | x, | |||
UncertaintyResult & | result, | |||
TObject * | obj = 0 | |||
) | const [virtual] |
retrieve the calibration uncertainty due to the given source.
x | user-supplied (kinematic or other) variables | |
unc | uncertainty specification | |
result | requested uncertainty (for both positive and negative variation, if available) | |
obj | object holding the requested uncertainty information (it will be computed if not provided) |
Implements Analysis::CalibrationDataContainer.
void Analysis::CalibrationDataFunctionContainer::setLowerBound | ( | int | vartype, | |
double | bound | |||
) | [inline] |
Set the lower bound of validity for the given variable
void Analysis::CalibrationDataFunctionContainer::setUpperBound | ( | int | vartype, | |
double | bound | |||
) | [inline] |
Set the lower bound of validity for the given variable