![]() |
ATLAS Offline Software
|
Namespaces | |
| namespace | generate |
Classes | |
| class | BasicRandom |
| class | Directory |
| class | Random |
| class | Resplot |
| class | StatVal |
| simple struct to hold a value and it's associated uncertainty. More... | |
| struct | tagname |
Functions | |
| TF1 * | FitGaussian (TH1D *s, double a=-999, double b=-999) |
| forward declation because we use this in the class ... | |
| bool | setoldrms95 (bool b) |
| bool | setscalerms95 (bool b) |
| bool | setnofit (bool b) |
| TF1 * | FitInternal (TH1D *s, double a=-999, double b=-999, TF1 *f1=0) |
| TF1 * | FitRGaussian (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitBreit (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitRBreit (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitATan (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitNull (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitPoisson (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitXExp (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitLandauGauss (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitCentralGaussian (TH1D *s, double a=-999, double b=-999) |
| TF1 * | FitNull95 (TH1D *s, double a=0, double b=0) |
| TF1 * | FitNull95New (TH1D *s, double frac=0.95, bool useroot=false) |
| TF1 * | FitNull95Obsolete (TH1D *s, double frac=0.95, bool useroot=false) |
| TF1 * | FitNull95Central (TH1D *s) |
| Resplot | operator* (double d, Resplot r) |
| StatVal | operator* (double d, const StatVal &sv) |
| std::ostream & | operator<< (std::ostream &s, const StatVal &sv) |
| std::ostream & | operator<< (std::ostream &s, const Random &_r) |
| void | binwidth (TH1D *h) |
| void | ZeroErrors (TH1D *h) |
| void | unZeroErrors (TH1D *h) |
| double | getWeights (TH1D *h) |
| double | getWeights (TH2D *h) |
| int | GetStats (TH1D *h, std::vector< double > &stats) |
| std::string | number (const double &x) |
| double | NCounter (TH1D *h) |
| double | FindMean (TH1D *s, double frac=0.95) |
| int | findmax (TH1D *s) |
| Double_t | langaufun (Double_t *x_par, Double_t *par) |
Variables | |
| bool | s_mAddDirectoryStatus = false |
| bool | s_interpolate_flag = true |
| bool | s_nofit = false |
| bool | s_oldrms95 = true |
| use the new error estimates | |
| bool | s_scalerms95 = true |
| void Resplot::binwidth | ( | TH1D * | h | ) |
Definition at line 52 of file Resplot.cxx.
| int Resplot::findmax | ( | TH1D * | s | ) |
find maximum bin
Definition at line 1201 of file Resplot.cxx.
| double Resplot::FindMean | ( | TH1D * | s, |
| double | frac = 0.95 ) |
Definition at line 1114 of file Resplot.cxx.
| TF1 * Resplot::FitATan | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 1025 of file Resplot.cxx.
| TF1 * Resplot::Resplot::FitBreit | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 986 of file Resplot.cxx.
| TF1 * Resplot::FitCentralGaussian | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
if the fit is "bad" fit only to the central region
calculate difference from maximum of fit, and hist maximum
Definition at line 907 of file Resplot.cxx.
| TF1 * Resplot::FitGaussian | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
forward declation because we use this in the class ...
Definition at line 852 of file Resplot.cxx.
| TF1 * Resplot::FitInternal | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999, | ||
| TF1 * | f1 = 0 ) |
Definition at line 878 of file Resplot.cxx.
| TF1 * Resplot::FitLandauGauss | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 1882 of file Resplot.cxx.
| TF1 * Resplot::FitNull | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 1093 of file Resplot.cxx.
| TF1 * Resplot::Resplot::FitNull95 | ( | TH1D * | s, |
| double | a = 0, | ||
| double | b = 0 ) |
Definition at line 1472 of file Resplot.cxx.
| TF1 * Resplot::Resplot::FitNull95Central | ( | TH1D * | s | ) |
NB: try to find with respect to maximum bin, rather than the mean. double m = s->GetMean();
double m = FindMean(s); int imax = s->GetXaxis()->FindBin(m);
root does not calculate the uncertainty on the rms correctly
Definition at line 1553 of file Resplot.cxx.
| TF1 * Resplot::FitNull95New | ( | TH1D * | s, |
| double | frac = 0.95, | ||
| bool | useroot = false ) |
calculate the
a "corrected" rms of the inner 0.95% of the data, corrected such that for a gaussian, will return 1.
Definition at line 1480 of file Resplot.cxx.
| TF1 * Resplot::Resplot::FitNull95Obsolete | ( | TH1D * | s, |
| double | frac = 0.95, | ||
| bool | useroot = false ) |
this line causes a crash, even though s->GetXaxis() returns the x axis ok
root does not calculate the uncertainty on the rms correctly
a "corrected" rms of the inner 0.95% of the data, corrected such that for a gaussian, will return 1.
Definition at line 1213 of file Resplot.cxx.
| TF1 * Resplot::Resplot::FitPoisson | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 1726 of file Resplot.cxx.
| TF1 * Resplot::FitRBreit | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 863 of file Resplot.cxx.
| TF1 * Resplot::FitRGaussian | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 858 of file Resplot.cxx.
| TF1 * Resplot::FitXExp | ( | TH1D * | s, |
| double | a = -999, | ||
| double | b = -999 ) |
Definition at line 1766 of file Resplot.cxx.
| int Resplot::GetStats | ( | TH1D * | h, |
| std::vector< double > & | stats ) |
what all these egregious root versions of standard types and standard functions, uint32_t, std::fabs etc
calculate the rms and rms error ...
Definition at line 115 of file Resplot.cxx.
| double Resplot::getWeights | ( | TH1D * | h | ) |
| double Resplot::getWeights | ( | TH2D * | h | ) |
Definition at line 93 of file Resplot.cxx.
| Double_t Resplot::langaufun | ( | Double_t * | x_par, |
| Double_t * | par ) |
Definition at line 1818 of file Resplot.cxx.
| double Resplot::NCounter | ( | TH1D * | h | ) |
Definition at line 417 of file Resplot.cxx.
| std::string Resplot::number | ( | const double & | x | ) |
Definition at line 410 of file Resplot.cxx.
Definition at line 51 of file TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/Random.h.
| void Resplot::unZeroErrors | ( | TH1D * | h | ) |
Definition at line 75 of file Resplot.cxx.
| void Resplot::ZeroErrors | ( | TH1D * | h | ) |
Definition at line 69 of file Resplot.cxx.
| bool Resplot::s_interpolate_flag = true |
Definition at line 42 of file Resplot.cxx.
| bool Resplot::s_mAddDirectoryStatus = false |
Definition at line 40 of file Resplot.cxx.
| bool Resplot::s_nofit = false |
Definition at line 43 of file Resplot.cxx.
| bool Resplot::Resplot::s_oldrms95 = true |
use the new error estimates
Definition at line 46 of file Resplot.cxx.
| bool Resplot::s_scalerms95 = true |
Definition at line 47 of file Resplot.cxx.