#include <CompMethods.h>
Public Member Functions | |
Quantile (double central, double err) | |
double | spread (TH1F &hist) |
double | spreadError (TH1F &hist) |
double | value (TH1F &hist) |
double | valueError (TH1F &hist) |
~Quantile () | |
Private Member Functions | |
double | distance (TH1F &hist) |
void | evaluate (double &err) |
void | quantiles (TH1F &hist, double err) |
Private Attributes | |
double | central_ |
double | err_ |
double | qnt_ [3] |
double | val_ [3] |
Definition at line 38 of file CompMethods.h.
Quantile::Quantile | ( | double | central, |
double | err | ||
) | [inline] |
Definition at line 42 of file CompMethods.h.
Quantile::~Quantile | ( | ) | [inline] |
Definition at line 43 of file CompMethods.h.
{};
double Quantile::distance | ( | TH1F & | hist | ) | [inline, private] |
Definition at line 53 of file CompMethods.h.
References qnt_.
Referenced by spread(), spreadError(), and valueError().
void Quantile::evaluate | ( | double & | err | ) | [inline, private] |
void Quantile::quantiles | ( | TH1F & | hist, |
double | err | ||
) | [inline, private] |
Definition at line 52 of file CompMethods.h.
References evaluate(), qnt_, and val_.
Referenced by spread(), spreadError(), value(), and valueError().
double Quantile::spread | ( | TH1F & | hist | ) | [inline] |
Definition at line 46 of file CompMethods.h.
References distance(), and quantiles().
Referenced by FitHist::fillTargetHistogramBin().
double Quantile::spreadError | ( | TH1F & | hist | ) |
Definition at line 92 of file CompMethods.cc.
References distance(), err_, SurfaceOrientation::inner, SurfaceOrientation::outer, and quantiles().
Referenced by FitHist::fillTargetHistogramBin().
double Quantile::value | ( | TH1F & | hist | ) | [inline] |
Definition at line 44 of file CompMethods.h.
References err_, qnt_, and quantiles().
Referenced by FitHist::fillTargetHistogramBin().
double Quantile::valueError | ( | TH1F & | hist | ) | [inline] |
Definition at line 45 of file CompMethods.h.
References distance(), err_, and quantiles().
Referenced by FitHist::fillTargetHistogramBin().
double Quantile::central_ [private] |
Definition at line 53 of file CompMethods.h.
Referenced by evaluate().
double Quantile::err_ [private] |
Definition at line 58 of file CompMethods.h.
Referenced by spreadError(), value(), and valueError().
double Quantile::qnt_[3] [private] |
Definition at line 60 of file CompMethods.h.
Referenced by distance(), quantiles(), and value().
double Quantile::val_[3] [private] |
Definition at line 59 of file CompMethods.h.
Referenced by evaluate(), and quantiles().