#include <CompMethods.h>
Public Member Functions | |
MaximalValue (double val, double err) | |
double | spread (TH1F &hist) |
double | spreadError (TH1F &hist) |
double | value (TH1F &hist) |
double | valueError (TH1F &hist) |
~MaximalValue () | |
Private Member Functions | |
std::pair< int, int > | contour (TH1F &, double &) |
double | spread (TH1F &hist, double frac) |
Private Attributes | |
double | err_ |
double | val_ |
Definition at line 14 of file CompMethods.h.
MaximalValue::MaximalValue | ( | double | val, |
double | err | ||
) | [inline] |
Definition at line 18 of file CompMethods.h.
MaximalValue::~MaximalValue | ( | ) | [inline] |
Definition at line 19 of file CompMethods.h.
{};
std::pair< int, int > MaximalValue::contour | ( | TH1F & | hist, |
double & | frac | ||
) | [private] |
Definition at line 79 of file CompMethods.cc.
References cropTnPTrees::frac.
double MaximalValue::spread | ( | TH1F & | hist | ) | [inline] |
Definition at line 22 of file CompMethods.h.
References spread().
Referenced by FitHist::fillTargetHistogramBin(), spread(), spreadError(), and valueError().
double MaximalValue::spread | ( | TH1F & | hist, |
double | frac | ||
) | [inline, private] |
double MaximalValue::spreadError | ( | TH1F & | hist | ) | [inline] |
double MaximalValue::value | ( | TH1F & | hist | ) | [inline] |
Definition at line 20 of file CompMethods.h.
Referenced by FitHist::fillTargetHistogramBin().
double MaximalValue::valueError | ( | TH1F & | hist | ) | [inline] |
Definition at line 21 of file CompMethods.h.
References spread(), and val_.
Referenced by FitHist::fillTargetHistogramBin().
double MaximalValue::err_ [private] |
Definition at line 33 of file CompMethods.h.
Referenced by spreadError().
double MaximalValue::val_ [private] |
Definition at line 28 of file CompMethods.h.
Referenced by valueError().