Analysis::CalibrationDataFunctionContainer Class Reference

#include <CalibrationDataContainer.h>

Inheritance diagram for Analysis::CalibrationDataFunctionContainer:
Analysis::CalibrationDataContainer

List of all members.

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)

Detailed Description

This is the class holding information for function-based calibration results.


Member Function Documentation

CalibrationStatus CalibrationDataFunctionContainer::getResult ( const CalibrationDataVariables x,
double &  result,
TObject *  obj = 0,
bool  extrapolate = false 
) const [virtual]

retrieve the calibration result.

Parameters:
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)
Returns:
status code (see above)

Implements Analysis::CalibrationDataContainer.

CalibrationStatus CalibrationDataFunctionContainer::getStatUncertainty ( const CalibrationDataVariables x,
double &  result 
) const [virtual]

retrieve the calibration statistical uncertainty.

Parameters:
x user-supplied (kinematic or other) variables
result requested statistical uncertainty
Returns:
status code (see above) Note the changed signature compared to getUncertainty(), getResult() etc.: this is because the statistical uncertainty computation always needs the result object, and only in case of the function interface also the covariance matrix

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.

Parameters:
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)
Returns:
status code (see above)

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1