#include <TEfficiency.h>
Inheritance diagram for TEfficiency:
Definition at line 35 of file TEfficiency.h.
Definition at line 40 of file TEfficiency.h.
anonymous enum [protected] |
Definition at line 68 of file TEfficiency.h.
Definition at line 40 of file TEfficiency.h.
anonymous enum [protected] |
Definition at line 68 of file TEfficiency.h.
TEfficiency::TEfficiency | ( | ) |
Definition at line 699 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), CheckConsistency(), TNamed::Clone(), TObject::Error(), fPassedHistogram, fTotalHistogram, kDefStatOpt, kFALSE, SetDirectory(), SetName(), SetStatisticOption(), total, and TObject::Warning().
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbins, | |||
const Double_t * | xbins | |||
) |
Definition at line 755 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbins, | |||
Double_t | xlow, | |||
Double_t | xup | |||
) |
Definition at line 792 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup | |||
) |
Definition at line 829 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins | |||
) |
Definition at line 870 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Int_t | nbinsz, | |||
Double_t | zlow, | |||
Double_t | zup | |||
) |
Definition at line 911 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins, | |||
Int_t | nbinsz, | |||
const Double_t * | zbins | |||
) |
Definition at line 956 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), Build(), fPassedHistogram, fTotalHistogram, and kFALSE.
TEfficiency::TEfficiency | ( | const TEfficiency & | heff | ) |
Definition at line 1001 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), fPassedHistogram, fTotalHistogram, TNamed::GetName(), GetStatisticOption(), TNamed::GetTitle(), kFALSE, name, SetDirectory(), SetName(), SetStatisticOption(), SetTitle(), and title.
TEfficiency::~TEfficiency | ( | ) |
Definition at line 1053 of file TEfficiency.cxx.
References fDirectory, fFunctions, fPaintGraph, fPaintHisto, fPassedHistogram, fTotalHistogram, and TDirectory::Remove().
TEfficiency::TEfficiency | ( | ) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbins, | |||
const Double_t * | xbins | |||
) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbins, | |||
Double_t | xlow, | |||
Double_t | xup | |||
) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup | |||
) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins | |||
) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | nbinsy, | |||
Double_t | ylow, | |||
Double_t | yup, | |||
Int_t | nbinsz, | |||
Double_t | zlow, | |||
Double_t | zup | |||
) |
TEfficiency::TEfficiency | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
const Double_t * | xbins, | |||
Int_t | nbinsy, | |||
const Double_t * | ybins, | |||
Int_t | nbinsz, | |||
const Double_t * | zbins | |||
) |
TEfficiency::TEfficiency | ( | const TEfficiency & | heff | ) |
TEfficiency::~TEfficiency | ( | ) |
void TEfficiency::Build | ( | const char * | name, | |
const char * | title | |||
) | [protected] |
Definition at line 1377 of file TEfficiency.cxx.
References fFunctions, fPassedHistogram, fTotalHistogram, gDirectory, kDefStatOpt, SetDirectory(), SetName(), TH1::SetNormFactor(), SetStatisticOption(), and SetTitle().
Referenced by TEfficiency().
void TEfficiency::Add | ( | const TEfficiency & | rEff | ) | [inline] |
Definition at line 98 of file TEfficiency.h.
Reimplemented from TObject.
Definition at line 1941 of file TEfficiency.cxx.
References TH1::DistancetoPrimitive(), TGraph::DistancetoPrimitive(), fPaintGraph, and fPaintHisto.
void TEfficiency::Draw | ( | Option_t * | opt = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 1957 of file TEfficiency.cxx.
References TObject::AppendPad(), gPad, and option.
Reimplemented from TObject.
Definition at line 1984 of file TEfficiency.cxx.
References TGraph::ExecuteEvent(), TH1::ExecuteEvent(), fPaintGraph, and fPaintHisto.
Definition at line 2000 of file TEfficiency.cxx.
References TH1::Fill(), fPassedHistogram, fTotalHistogram, and GetDimension().
Definition at line 2031 of file TEfficiency.cxx.
References TAxis::FindFixBin(), fTotalHistogram, GetDimension(), GetGlobalBin(), TH1::GetXaxis(), TH1::GetYaxis(), and TH1::GetZaxis().
Definition at line 2052 of file TEfficiency.cxx.
References TList::Add(), xmlio::Class, fFunctions, TBinomialEfficiencyFitter::Fit(), fPassedHistogram, fTotalHistogram, option, and result().
Definition at line 106 of file TEfficiency.h.
References fBeta_alpha, and fBeta_bin_params.
Referenced by Combine(), GetEfficiency(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), and operator=().
Definition at line 107 of file TEfficiency.h.
References fBeta_beta, and fBeta_bin_params.
Referenced by Combine(), GetEfficiency(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), and operator=().
Double_t TEfficiency::GetConfidenceLevel | ( | ) | const [inline] |
Definition at line 108 of file TEfficiency.h.
References fConfLevel.
Referenced by Combine(), and operator=().
TH1 * TEfficiency::GetCopyPassedHisto | ( | ) | const |
Definition at line 2096 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), TNamed::Clone(), fPassedHistogram, and kFALSE.
TH1 * TEfficiency::GetCopyTotalHisto | ( | ) | const |
Definition at line 2128 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), TNamed::Clone(), fTotalHistogram, and kFALSE.
Int_t TEfficiency::GetDimension | ( | ) | const |
Definition at line 2160 of file TEfficiency.cxx.
References fTotalHistogram, and TH1::GetDimension().
Referenced by Combine(), Fill(), FindFixBin(), and SavePrimitive().
TDirectory* TEfficiency::GetDirectory | ( | ) | const [inline] |
Definition at line 2168 of file TEfficiency.cxx.
References ROOT::Math::Cephes::beta(), BetaMean(), BetaMode(), fPassedHistogram, fTotalHistogram, GetBetaAlpha(), GetBetaBeta(), TH1::GetBinContent(), kIsBayesian, kPosteriorMode, kUseBinPrior, TObject::TestBit(), and total.
Referenced by GetEfficiencyErrorLow(), and GetEfficiencyErrorUp().
Definition at line 2206 of file TEfficiency.cxx.
References Bayesian(), ROOT::Math::Cephes::beta(), fBoundary, fConfLevel, fPassedHistogram, fTotalHistogram, GetBetaAlpha(), GetBetaBeta(), TH1::GetBinContent(), GetEfficiency(), kIsBayesian, kShortestInterval, kUseBinPrior, TObject::TestBit(), and total.
Definition at line 2229 of file TEfficiency.cxx.
References Bayesian(), ROOT::Math::Cephes::beta(), fBoundary, fConfLevel, fPassedHistogram, fTotalHistogram, GetBetaAlpha(), GetBetaBeta(), TH1::GetBinContent(), GetEfficiency(), kIsBayesian, kShortestInterval, kUseBinPrior, TObject::TestBit(), and total.
Definition at line 2252 of file TEfficiency.cxx.
References fTotalHistogram, and TH1::GetBin().
Referenced by FindFixBin().
TGraphAsymmErrors* TEfficiency::GetPaintedGraph | ( | ) | const [inline] |
TH2* TEfficiency::GetPaintedHistogram | ( | ) | const [inline] |
TList* TEfficiency::GetListOfFunctions | ( | ) | const [inline] |
const TH1* TEfficiency::GetPassedHistogram | ( | ) | const [inline] |
EStatOption TEfficiency::GetStatisticOption | ( | ) | const [inline] |
Definition at line 121 of file TEfficiency.h.
References fStatisticOption.
Referenced by operator=(), and TEfficiency().
const TH1* TEfficiency::GetTotalHistogram | ( | ) | const [inline] |
Double_t TEfficiency::GetWeight | ( | ) | const [inline] |
Definition at line 123 of file TEfficiency.h.
References fWeight.
Referenced by operator+=(), and operator=().
void TEfficiency::Merge | ( | TCollection * | list | ) |
TEfficiency & TEfficiency::operator+= | ( | const TEfficiency & | rhs | ) |
Definition at line 2326 of file TEfficiency.cxx.
References TH1::Add(), TObject::Fatal(), fPassedHistogram, fTotalHistogram, fWeight, GetWeight(), TH1::kIsAverage, TObject::ResetBit(), SetWeight(), and TObject::Warning().
TEfficiency & TEfficiency::operator= | ( | const TEfficiency & | rhs | ) |
Definition at line 2372 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), TNamed::Clone(), fFunctions, fPaintGraph, fPaintHisto, fPassedHistogram, fTotalHistogram, GetBetaAlpha(), GetBetaBeta(), GetConfidenceLevel(), GetStatisticOption(), GetWeight(), kFALSE, SetBetaAlpha(), SetBetaBeta(), SetConfidenceLevel(), SetStatisticOption(), and SetWeight().
void TEfficiency::SavePrimitive | ( | ostream & | out, | |
Option_t * | opt = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 2579 of file TEfficiency.cxx.
References xmlio::Class, TObject::ClassName(), TString::Data(), TArrayD::fArray, fBeta_alpha, fBeta_beta, fConfLevel, fFunctions, TArray::fN, fPassedHistogram, fStatisticOption, fTotalHistogram, fWeight, TH1::GetBinContent(), GetDimension(), TNamed::GetName(), TAxis::GetNbins(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TNamed::GetTitle(), TH1::GetXaxis(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TH1::GetZaxis(), i, name, nbins, option, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), and TAttMarker::SaveMarkerAttributes().
void TEfficiency::SetBetaAlpha | ( | Double_t | alpha | ) |
Definition at line 2734 of file TEfficiency.cxx.
References fBeta_alpha, and TObject::Warning().
Referenced by operator=().
void TEfficiency::SetBetaBeta | ( | Double_t | beta | ) |
Definition at line 2752 of file TEfficiency.cxx.
References fBeta_beta, and TObject::Warning().
Referenced by operator=().
Definition at line 2770 of file TEfficiency.cxx.
References fBeta_alpha, fBeta_beta, fBeta_bin_params, fPassedHistogram, fTotalHistogram, TH1::GetBin(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), h1, kUseBinPrior, n, and TObject::SetBit().
void TEfficiency::SetConfidenceLevel | ( | Double_t | level | ) |
Definition at line 2798 of file TEfficiency.cxx.
References fConfLevel, and TObject::Warning().
Referenced by operator=().
void TEfficiency::SetDirectory | ( | TDirectory * | dir | ) |
Definition at line 2810 of file TEfficiency.cxx.
References TDirectory::Append(), dir(), fDirectory, and TDirectory::Remove().
Referenced by Build(), and TEfficiency().
void TEfficiency::SetName | ( | const char * | name | ) | [virtual] |
Reimplemented from TNamed.
Definition at line 2832 of file TEfficiency.cxx.
References fPassedHistogram, fTotalHistogram, TH1::SetName(), and TNamed::SetName().
Referenced by Build(), and TEfficiency().
Definition at line 2849 of file TEfficiency.cxx.
References TObject::Error(), fPassedHistogram, fTotalHistogram, TH1::GetBinContent(), and TH1::SetBinContent().
Definition at line 2869 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), CheckConsistency(), TNamed::Clone(), TList::Delete(), fFunctions, fPassedHistogram, fTotalHistogram, kFALSE, option, and TH1::SetNormFactor().
void TEfficiency::SetPosteriorMode | ( | Bool_t | on = true |
) | [inline] |
Definition at line 137 of file TEfficiency.h.
References kPosteriorMode, TObject::SetBit(), and SetShortestInterval().
void TEfficiency::SetPosteriorAverage | ( | Bool_t | on = true |
) | [inline] |
void TEfficiency::SetShortestInterval | ( | Bool_t | on = true |
) | [inline] |
Definition at line 139 of file TEfficiency.h.
References kShortestInterval, and TObject::SetBit().
Referenced by SetPosteriorMode().
void TEfficiency::SetCentralInterval | ( | Bool_t | on = true |
) | [inline] |
void TEfficiency::SetStatisticOption | ( | EStatOption | option | ) |
Definition at line 2914 of file TEfficiency.cxx.
References AgrestiCoull(), ClopperPearson(), fBeta_alpha, fBeta_beta, fBoundary, FeldmanCousins(), fStatisticOption, kBBayesian, kBJeffrey, kBUniform, kFAC, kFCP, kFFC, kFNormal, kFWilson, kIsBayesian, kUseBinPrior, Normal(), TObject::SetBit(), and Wilson().
Referenced by Build(), operator=(), and TEfficiency().
void TEfficiency::SetTitle | ( | const char * | title | ) | [virtual] |
Reimplemented from TNamed.
Definition at line 2991 of file TEfficiency.cxx.
References TString::Append(), TString::First(), fPassedHistogram, fTotalHistogram, TString::Insert(), kNPOS, TNamed::SetTitle(), and TH1::SetTitle().
Referenced by Build(), and TEfficiency().
Definition at line 3027 of file TEfficiency.cxx.
References TObject::Error(), fPassedHistogram, fTotalHistogram, TH1::GetBinContent(), and TH1::SetBinContent().
Definition at line 3047 of file TEfficiency.cxx.
References TH1::AddDirectory(), TH1::AddDirectoryStatus(), CheckConsistency(), TNamed::Clone(), TList::Delete(), fFunctions, fPassedHistogram, fTotalHistogram, kFALSE, option, and TH1::SetNormFactor().
void TEfficiency::SetWeight | ( | Double_t | weight | ) |
Definition at line 3092 of file TEfficiency.cxx.
References fWeight, and TObject::Warning().
Referenced by operator+=(), and operator=().
Bool_t TEfficiency::UsesBayesianStat | ( | ) | const [inline] |
Definition at line 146 of file TEfficiency.h.
References kIsBayesian, and TObject::TestBit().
Referenced by Combine().
Bool_t TEfficiency::UsesPosteriorMode | ( | ) | const [inline] |
Definition at line 147 of file TEfficiency.h.
References kIsBayesian, kPosteriorMode, and TObject::TestBit().
Referenced by UsesPosteriorAverage().
Bool_t TEfficiency::UsesShortestInterval | ( | ) | const [inline] |
Definition at line 148 of file TEfficiency.h.
References kIsBayesian, kShortestInterval, and TObject::TestBit().
Referenced by UsesCentralInterval().
Bool_t TEfficiency::UsesPosteriorAverage | ( | ) | const [inline] |
Bool_t TEfficiency::UsesCentralInterval | ( | ) | const [inline] |
Definition at line 1400 of file TEfficiency.cxx.
References TMath::AreEqualRel(), TAxis::GetBinLowEdge(), TH1::GetDimension(), TAxis::GetNbins(), TH1::GetXaxis(), TAxis::GetXmax(), TH1::GetYaxis(), TH1::GetZaxis(), i, j, and total.
Referenced by CheckConsistency(), Combine(), G__G__Hist_215_0_63(), and G__setup_memfuncTEfficiency().
Bool_t TEfficiency::CheckConsistency | ( | const TH1 & | pass, | |
const TH1 & | total, | |||
Option_t * | opt = "" | |||
) | [static] |
Definition at line 1443 of file TEfficiency.cxx.
References CheckBinning(), CheckEntries(), TObject::Error(), TH1::GetDimension(), gROOT, and total.
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_64(), G__setup_memfuncTEfficiency(), SetPassedHistogram(), SetTotalHistogram(), and TEfficiency().
Bool_t TEfficiency::CheckEntries | ( | const TH1 & | pass, | |
const TH1 & | total, | |||
Option_t * | opt = "" | |||
) | [static] |
Definition at line 1474 of file TEfficiency.cxx.
References TMath::Abs(), TH1::GetBinContent(), TH1::GetDimension(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TH1::GetStats(), i, nbins, option, and total.
Referenced by CheckConsistency(), G__G__Hist_215_0_65(), and G__setup_memfuncTEfficiency().
Double_t TEfficiency::Combine | ( | Double_t & | up, | |
Double_t & | low, | |||
Int_t | n, | |||
const Int_t * | pass, | |||
const Int_t * | total, | |||
Double_t | alpha, | |||
Double_t | beta, | |||
Double_t | level = 0.683 , |
|||
const Double_t * | w = 0 , |
|||
Option_t * | opt = "" | |||
) | [static] |
Definition at line 1579 of file TEfficiency.cxx.
References a, b, BetaCentralInterval(), BetaMode(), BetaShortestInterval(), TObject::Error(), i, TObject::Info(), norm(), and option.
Referenced by Combine(), G__G__Hist_215_0_66(), G__G__Hist_215_0_67(), and G__setup_memfuncTEfficiency().
TGraphAsymmErrors * TEfficiency::Combine | ( | TCollection * | pList, | |
Option_t * | opt = "" , |
|||
Int_t | n = 0 , |
|||
const Double_t * | w = 0 | |||
) | [static] |
Definition at line 1728 of file TEfficiency.cxx.
References ROOT::Math::Cephes::beta(), CheckBinning(), Combine(), TString::Contains(), TString::Data(), TObject::Error(), fPassedHistogram, fTotalHistogram, fWeight, GetBetaAlpha(), GetBetaBeta(), GetConfidenceLevel(), GetDimension(), gr, gROOT, i, TString::Index(), TObject::Info(), j, k, TString::Length(), level, low, num, TString::ReplaceAll(), TString::ToLower(), total, UsesBayesianStat(), TObject::Warning(), and x.
Double_t TEfficiency::AgrestiCoull | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
Definition at line 1080 of file TEfficiency.cxx.
References ROOT::Math::normal_quantile(), and sqrt().
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_68(), G__setup_memfuncTEfficiency(), and SetStatisticOption().
Double_t TEfficiency::ClopperPearson | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
Definition at line 1529 of file TEfficiency.cxx.
References ROOT::Math::beta_quantile().
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_69(), G__setup_memfuncTEfficiency(), and SetStatisticOption().
Definition at line 2295 of file TEfficiency.cxx.
References ROOT::Math::normal_quantile(), sigma, and sqrt().
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_70(), G__setup_memfuncTEfficiency(), and SetStatisticOption().
Definition at line 3105 of file TEfficiency.cxx.
References ROOT::Math::normal_quantile(), and sqrt().
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_71(), G__setup_memfuncTEfficiency(), and SetStatisticOption().
Double_t TEfficiency::FeldmanCousins | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
Definition at line 1112 of file TEfficiency.cxx.
References TObject::Error(), and FeldmanCousinsInterval().
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_72(), G__setup_memfuncTEfficiency(), and SetStatisticOption().
Bool_t TEfficiency::FeldmanCousinsInterval | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Double_t & | lower, | |||
Double_t & | upper | |||
) | [static] |
Definition at line 1130 of file TEfficiency.cxx.
References fc.
Referenced by FeldmanCousins(), G__G__Hist_215_0_73(), and G__setup_memfuncTEfficiency().
Double_t TEfficiency::Bayesian | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Double_t | alpha, | |||
Double_t | beta, | |||
Bool_t | bUpper, | |||
Bool_t | bShortest = false | |||
) | [static] |
Definition at line 1165 of file TEfficiency.cxx.
References a, b, BetaCentralInterval(), BetaShortestInterval(), and double.
Referenced by G__G__Hist_215_0_74(), G__setup_memfuncTEfficiency(), GetEfficiencyErrorLow(), and GetEfficiencyErrorUp().
Double_t TEfficiency::BetaCentralInterval | ( | Double_t | level, | |
Double_t | alpha, | |||
Double_t | beta, | |||
Bool_t | bUpper | |||
) | [static] |
Definition at line 1217 of file TEfficiency.cxx.
References ROOT::Math::beta_quantile(), TObject::Error(), and gROOT.
Referenced by Bayesian(), BetaShortestInterval(), Combine(), TGraphAsymmErrors::Divide(), G__G__Hist_215_0_75(), and G__setup_memfuncTEfficiency().
Bool_t TEfficiency::BetaShortestInterval | ( | Double_t | level, | |
Double_t | alpha, | |||
Double_t | beta, | |||
Double_t & | lower, | |||
Double_t & | upper | |||
) | [static] |
Definition at line 1270 of file TEfficiency.cxx.
References ROOT::Math::beta_quantile(), ROOT::Math::beta_quantile_c(), BetaCentralInterval(), BetaMode(), E, TObject::Error(), func(), ROOT::Math::BrentMinimizer1D::FValMinimum(), gROOT, kFALSE, kTRUE, Beta_interval_length::LowerMax(), ROOT::Math::BrentMinimizer1D::Minimize(), ROOT::Math::BrentMinimizer1D::SetFunction(), ROOT::Math::BrentMinimizer1D::SetNpx(), and ROOT::Math::BrentMinimizer1D::XMinimum().
Referenced by Bayesian(), Combine(), TGraphAsymmErrors::Divide(), G__G__Hist_215_0_76(), and G__setup_memfuncTEfficiency().
Definition at line 1331 of file TEfficiency.cxx.
References TObject::Error(), and gROOT.
Referenced by TGraphAsymmErrors::Divide(), G__G__Hist_215_0_77(), G__setup_memfuncTEfficiency(), and GetEfficiency().
Definition at line 1349 of file TEfficiency.cxx.
References TObject::Error(), and gROOT.
Referenced by BetaShortestInterval(), Combine(), TGraphAsymmErrors::Divide(), G__G__Hist_215_0_78(), G__setup_memfuncTEfficiency(), and GetEfficiency().
void TEfficiency::Build | ( | const char * | name, | |
const char * | title | |||
) | [protected] |
void TEfficiency::Add | ( | const TEfficiency & | rEff | ) | [inline] |
Definition at line 98 of file TEfficiency.h.
Reimplemented from TObject.
Reimplemented from TObject.
Double_t TEfficiency::GetConfidenceLevel | ( | ) | const [inline] |
TH1* TEfficiency::GetCopyPassedHisto | ( | ) | const |
TH1* TEfficiency::GetCopyTotalHisto | ( | ) | const |
Int_t TEfficiency::GetDimension | ( | ) | const |
TDirectory* TEfficiency::GetDirectory | ( | ) | const [inline] |
TGraphAsymmErrors* TEfficiency::GetPaintedGraph | ( | ) | const [inline] |
TH2* TEfficiency::GetPaintedHistogram | ( | ) | const [inline] |
TList* TEfficiency::GetListOfFunctions | ( | ) | const [inline] |
const TH1* TEfficiency::GetPassedHistogram | ( | ) | const [inline] |
EStatOption TEfficiency::GetStatisticOption | ( | ) | const [inline] |
const TH1* TEfficiency::GetTotalHistogram | ( | ) | const [inline] |
Double_t TEfficiency::GetWeight | ( | ) | const [inline] |
void TEfficiency::Merge | ( | TCollection * | list | ) |
TEfficiency& TEfficiency::operator+= | ( | const TEfficiency & | rhs | ) |
TEfficiency& TEfficiency::operator= | ( | const TEfficiency & | rhs | ) |
void TEfficiency::SavePrimitive | ( | ostream & | out, | |
Option_t * | opt = "" | |||
) | [virtual] |
Reimplemented from TObject.
void TEfficiency::SetBetaAlpha | ( | Double_t | alpha | ) |
void TEfficiency::SetBetaBeta | ( | Double_t | beta | ) |
void TEfficiency::SetConfidenceLevel | ( | Double_t | level | ) |
void TEfficiency::SetDirectory | ( | TDirectory * | dir | ) |
void TEfficiency::SetName | ( | const char * | name | ) | [virtual] |
Reimplemented from TNamed.
void TEfficiency::SetPosteriorMode | ( | Bool_t | on = true |
) | [inline] |
Definition at line 137 of file TEfficiency.h.
References kPosteriorMode, TObject::SetBit(), and SetShortestInterval().
void TEfficiency::SetPosteriorAverage | ( | Bool_t | on = true |
) | [inline] |
void TEfficiency::SetShortestInterval | ( | Bool_t | on = true |
) | [inline] |
void TEfficiency::SetCentralInterval | ( | Bool_t | on = true |
) | [inline] |
void TEfficiency::SetStatisticOption | ( | EStatOption | option | ) |
void TEfficiency::SetTitle | ( | const char * | title | ) | [virtual] |
Reimplemented from TNamed.
void TEfficiency::SetWeight | ( | Double_t | weight | ) |
Bool_t TEfficiency::UsesBayesianStat | ( | ) | const [inline] |
Bool_t TEfficiency::UsesPosteriorMode | ( | ) | const [inline] |
Definition at line 147 of file TEfficiency.h.
References kIsBayesian, kPosteriorMode, and TObject::TestBit().
Bool_t TEfficiency::UsesShortestInterval | ( | ) | const [inline] |
Definition at line 148 of file TEfficiency.h.
References kIsBayesian, kShortestInterval, and TObject::TestBit().
Bool_t TEfficiency::UsesPosteriorAverage | ( | ) | const [inline] |
Bool_t TEfficiency::UsesCentralInterval | ( | ) | const [inline] |
static Bool_t TEfficiency::CheckConsistency | ( | const TH1 & | pass, | |
const TH1 & | total, | |||
Option_t * | opt = "" | |||
) | [static] |
static Bool_t TEfficiency::CheckEntries | ( | const TH1 & | pass, | |
const TH1 & | total, | |||
Option_t * | opt = "" | |||
) | [static] |
static Double_t TEfficiency::Combine | ( | Double_t & | up, | |
Double_t & | low, | |||
Int_t | n, | |||
const Int_t * | pass, | |||
const Int_t * | total, | |||
Double_t | alpha, | |||
Double_t | beta, | |||
Double_t | level = 0.683 , |
|||
const Double_t * | w = 0 , |
|||
Option_t * | opt = "" | |||
) | [static] |
static TGraphAsymmErrors* TEfficiency::Combine | ( | TCollection * | pList, | |
Option_t * | opt = "" , |
|||
Int_t | n = 0 , |
|||
const Double_t * | w = 0 | |||
) | [static] |
static Double_t TEfficiency::AgrestiCoull | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
static Double_t TEfficiency::ClopperPearson | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
static Double_t TEfficiency::Normal | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
static Double_t TEfficiency::Wilson | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
static Double_t TEfficiency::FeldmanCousins | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Bool_t | bUpper | |||
) | [static] |
static Bool_t TEfficiency::FeldmanCousinsInterval | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Double_t & | lower, | |||
Double_t & | upper | |||
) | [static] |
static Double_t TEfficiency::Bayesian | ( | Int_t | total, | |
Int_t | passed, | |||
Double_t | level, | |||
Double_t | alpha, | |||
Double_t | beta, | |||
Bool_t | bUpper, | |||
Bool_t | bShortest = false | |||
) | [static] |
static Double_t TEfficiency::BetaCentralInterval | ( | Double_t | level, | |
Double_t | alpha, | |||
Double_t | beta, | |||
Bool_t | bUpper | |||
) | [static] |
static Bool_t TEfficiency::BetaShortestInterval | ( | Double_t | level, | |
Double_t | alpha, | |||
Double_t | beta, | |||
Double_t & | lower, | |||
Double_t & | upper | |||
) | [static] |
Double_t TEfficiency::fBeta_alpha [protected] |
Definition at line 53 of file TEfficiency.h.
Referenced by GetBetaAlpha(), SavePrimitive(), SetBetaAlpha(), SetBetaBinParameters(), and SetStatisticOption().
Double_t TEfficiency::fBeta_beta [protected] |
Definition at line 54 of file TEfficiency.h.
Referenced by GetBetaBeta(), SavePrimitive(), SetBetaBeta(), SetBetaBinParameters(), and SetStatisticOption().
std::vector<std::pair<Double_t, Double_t> > TEfficiency::fBeta_bin_params [protected] |
Definition at line 55 of file TEfficiency.h.
Referenced by GetBetaAlpha(), GetBetaBeta(), and SetBetaBinParameters().
Referenced by GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), and SetStatisticOption().
Double_t TEfficiency::fConfLevel [protected] |
pointer to a method calculating the boundaries of confidence intervals
Definition at line 58 of file TEfficiency.h.
Referenced by GetConfidenceLevel(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), SavePrimitive(), and SetConfidenceLevel().
TDirectory* TEfficiency::fDirectory [protected] |
Definition at line 59 of file TEfficiency.h.
Referenced by GetDirectory(), SetDirectory(), and ~TEfficiency().
TList* TEfficiency::fFunctions [protected] |
pointer to directory holding this TEfficiency object
Definition at line 60 of file TEfficiency.h.
Referenced by Build(), Fit(), GetListOfFunctions(), operator=(), SavePrimitive(), SetPassedHistogram(), SetTotalHistogram(), and ~TEfficiency().
TGraphAsymmErrors* TEfficiency::fPaintGraph [protected] |
Definition at line 61 of file TEfficiency.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), GetPaintedGraph(), operator=(), and ~TEfficiency().
TH2* TEfficiency::fPaintHisto [protected] |
temporary graph for painting
Definition at line 62 of file TEfficiency.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), GetPaintedHistogram(), operator=(), and ~TEfficiency().
TH1* TEfficiency::fPassedHistogram [protected] |
temporary histogram for painting
Definition at line 63 of file TEfficiency.h.
Referenced by Build(), Combine(), Fill(), Fit(), GetCopyPassedHisto(), GetEfficiency(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), GetPassedHistogram(), operator+=(), operator=(), SavePrimitive(), SetBetaBinParameters(), SetName(), SetPassedEvents(), SetPassedHistogram(), SetTitle(), SetTotalEvents(), SetTotalHistogram(), TEfficiency(), and ~TEfficiency().
EStatOption TEfficiency::fStatisticOption [protected] |
Definition at line 64 of file TEfficiency.h.
Referenced by GetStatisticOption(), SavePrimitive(), and SetStatisticOption().
TH1* TEfficiency::fTotalHistogram [protected] |
Definition at line 65 of file TEfficiency.h.
Referenced by Build(), Combine(), Fill(), FindFixBin(), Fit(), GetCopyTotalHisto(), GetDimension(), GetEfficiency(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), GetGlobalBin(), GetTotalHistogram(), operator+=(), operator=(), SavePrimitive(), SetBetaBinParameters(), SetName(), SetPassedEvents(), SetPassedHistogram(), SetTitle(), SetTotalEvents(), SetTotalHistogram(), TEfficiency(), and ~TEfficiency().
Double_t TEfficiency::fWeight [protected] |
Definition at line 66 of file TEfficiency.h.
Referenced by Combine(), GetWeight(), operator+=(), SavePrimitive(), and SetWeight().
std::vector<std::pair<Double_t, Double_t> > TEfficiency::fBeta_bin_params [protected] |
Definition at line 55 of file TEfficiency.h.
TDirectory* TEfficiency::fDirectory [protected] |
Definition at line 59 of file TEfficiency.h.
TList* TEfficiency::fFunctions [protected] |
TGraphAsymmErrors* TEfficiency::fPaintGraph [protected] |
Definition at line 61 of file TEfficiency.h.
TH2* TEfficiency::fPaintHisto [protected] |
TH1* TEfficiency::fPassedHistogram [protected] |
TH1* TEfficiency::fTotalHistogram [protected] |
Definition at line 65 of file TEfficiency.h.