TEfficiency Class Reference

#include <TEfficiency.h>

Inheritance diagram for TEfficiency:

TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed List of all members.

Public Types

enum  EStatOption
enum  EStatOption

Public Member Functions

 TEfficiency ()
 TEfficiency (const TH1 &passed, const TH1 &total)
 TEfficiency (const char *name, const char *title, Int_t nbins, const Double_t *xbins)
 TEfficiency (const char *name, const char *title, Int_t nbins, Double_t xlow, Double_t xup)
 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 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 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 (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 (const TEfficiency &heff)
 ~TEfficiency ()
void Add (const TEfficiency &rEff)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
void Draw (Option_t *opt="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
void Fill (Bool_t bPassed, Double_t x, Double_t y=0, Double_t z=0)
Int_t FindFixBin (Double_t x, Double_t y=0, Double_t z=0) const
Int_t Fit (TF1 *f1, Option_t *opt="")
Double_t GetBetaAlpha (Int_t bin=-1) const
Double_t GetBetaBeta (Int_t bin=-1) const
Double_t GetConfidenceLevel () const
TH1GetCopyPassedHisto () const
TH1GetCopyTotalHisto () const
Int_t GetDimension () const
TDirectoryGetDirectory () const
Double_t GetEfficiency (Int_t bin) const
Double_t GetEfficiencyErrorLow (Int_t bin) const
Double_t GetEfficiencyErrorUp (Int_t bin) const
Int_t GetGlobalBin (Int_t binx, Int_t biny=0, Int_t binz=0) const
TGraphAsymmErrorsGetPaintedGraph () const
TH2GetPaintedHistogram () const
TListGetListOfFunctions () const
const TH1GetPassedHistogram () const
EStatOption GetStatisticOption () const
const TH1GetTotalHistogram () const
Double_t GetWeight () const
void Merge (TCollection *list)
TEfficiencyoperator+= (const TEfficiency &rhs)
TEfficiencyoperator= (const TEfficiency &rhs)
void Paint (Option_t *opt)
void SavePrimitive (ostream &out, Option_t *opt="")
void SetBetaAlpha (Double_t alpha)
void SetBetaBeta (Double_t beta)
void SetBetaBinParameters (Int_t bin, Double_t alpha, Double_t beta)
void SetConfidenceLevel (Double_t level)
void SetDirectory (TDirectory *dir)
void SetName (const char *name)
Bool_t SetPassedEvents (Int_t bin, Int_t events)
Bool_t SetPassedHistogram (const TH1 &rPassed, Option_t *opt)
void SetPosteriorMode (Bool_t on=true)
void SetPosteriorAverage (Bool_t on=true)
void SetShortestInterval (Bool_t on=true)
void SetCentralInterval (Bool_t on=true)
void SetStatisticOption (EStatOption option)
void SetTitle (const char *title)
Bool_t SetTotalEvents (Int_t bin, Int_t events)
Bool_t SetTotalHistogram (const TH1 &rTotal, Option_t *opt)
void SetWeight (Double_t weight)
Bool_t UsesBayesianStat () const
Bool_t UsesPosteriorMode () const
Bool_t UsesShortestInterval () const
Bool_t UsesPosteriorAverage () const
Bool_t UsesCentralInterval () const
 TEfficiency ()
 TEfficiency (const TH1 &passed, const TH1 &total)
 TEfficiency (const char *name, const char *title, Int_t nbins, const Double_t *xbins)
 TEfficiency (const char *name, const char *title, Int_t nbins, Double_t xlow, Double_t xup)
 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 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 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 (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 (const TEfficiency &heff)
 ~TEfficiency ()
void Add (const TEfficiency &rEff)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
void Draw (Option_t *opt="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
void Fill (Bool_t bPassed, Double_t x, Double_t y=0, Double_t z=0)
Int_t FindFixBin (Double_t x, Double_t y=0, Double_t z=0) const
Int_t Fit (TF1 *f1, Option_t *opt="")
Double_t GetBetaAlpha (Int_t bin=-1) const
Double_t GetBetaBeta (Int_t bin=-1) const
Double_t GetConfidenceLevel () const
TH1GetCopyPassedHisto () const
TH1GetCopyTotalHisto () const
Int_t GetDimension () const
TDirectoryGetDirectory () const
Double_t GetEfficiency (Int_t bin) const
Double_t GetEfficiencyErrorLow (Int_t bin) const
Double_t GetEfficiencyErrorUp (Int_t bin) const
Int_t GetGlobalBin (Int_t binx, Int_t biny=0, Int_t binz=0) const
TGraphAsymmErrorsGetPaintedGraph () const
TH2GetPaintedHistogram () const
TListGetListOfFunctions () const
const TH1GetPassedHistogram () const
EStatOption GetStatisticOption () const
const TH1GetTotalHistogram () const
Double_t GetWeight () const
void Merge (TCollection *list)
TEfficiencyoperator+= (const TEfficiency &rhs)
TEfficiencyoperator= (const TEfficiency &rhs)
void Paint (Option_t *opt)
void SavePrimitive (ostream &out, Option_t *opt="")
void SetBetaAlpha (Double_t alpha)
void SetBetaBeta (Double_t beta)
void SetBetaBinParameters (Int_t bin, Double_t alpha, Double_t beta)
void SetConfidenceLevel (Double_t level)
void SetDirectory (TDirectory *dir)
void SetName (const char *name)
Bool_t SetPassedEvents (Int_t bin, Int_t events)
Bool_t SetPassedHistogram (const TH1 &rPassed, Option_t *opt)
void SetPosteriorMode (Bool_t on=true)
void SetPosteriorAverage (Bool_t on=true)
void SetShortestInterval (Bool_t on=true)
void SetCentralInterval (Bool_t on=true)
void SetStatisticOption (EStatOption option)
void SetTitle (const char *title)
Bool_t SetTotalEvents (Int_t bin, Int_t events)
Bool_t SetTotalHistogram (const TH1 &rTotal, Option_t *opt)
void SetWeight (Double_t weight)
Bool_t UsesBayesianStat () const
Bool_t UsesPosteriorMode () const
Bool_t UsesShortestInterval () const
Bool_t UsesPosteriorAverage () const
Bool_t UsesCentralInterval () const

Static Public Member Functions

static Bool_t CheckBinning (const TH1 &pass, const TH1 &total)
static Bool_t CheckConsistency (const TH1 &pass, const TH1 &total, Option_t *opt="")
static Bool_t CheckEntries (const TH1 &pass, const TH1 &total, Option_t *opt="")
static Double_t 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 TGraphAsymmErrorsCombine (TCollection *pList, Option_t *opt="", Int_t n=0, const Double_t *w=0)
static Double_t AgrestiCoull (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t ClopperPearson (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t Normal (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t Wilson (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t FeldmanCousins (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Bool_t FeldmanCousinsInterval (Int_t total, Int_t passed, Double_t level, Double_t &lower, Double_t &upper)
static Double_t Bayesian (Int_t total, Int_t passed, Double_t level, Double_t alpha, Double_t beta, Bool_t bUpper, Bool_t bShortest=false)
static Double_t BetaCentralInterval (Double_t level, Double_t alpha, Double_t beta, Bool_t bUpper)
static Bool_t BetaShortestInterval (Double_t level, Double_t alpha, Double_t beta, Double_t &lower, Double_t &upper)
static Double_t BetaMean (Double_t alpha, Double_t beta)
static Double_t BetaMode (Double_t alpha, Double_t beta)
static Bool_t CheckBinning (const TH1 &pass, const TH1 &total)
static Bool_t CheckConsistency (const TH1 &pass, const TH1 &total, Option_t *opt="")
static Bool_t CheckEntries (const TH1 &pass, const TH1 &total, Option_t *opt="")
static Double_t 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 TGraphAsymmErrorsCombine (TCollection *pList, Option_t *opt="", Int_t n=0, const Double_t *w=0)
static Double_t AgrestiCoull (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t ClopperPearson (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t Normal (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t Wilson (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Double_t FeldmanCousins (Int_t total, Int_t passed, Double_t level, Bool_t bUpper)
static Bool_t FeldmanCousinsInterval (Int_t total, Int_t passed, Double_t level, Double_t &lower, Double_t &upper)
static Double_t Bayesian (Int_t total, Int_t passed, Double_t level, Double_t alpha, Double_t beta, Bool_t bUpper, Bool_t bShortest=false)
static Double_t BetaCentralInterval (Double_t level, Double_t alpha, Double_t beta, Bool_t bUpper)
static Bool_t BetaShortestInterval (Double_t level, Double_t alpha, Double_t beta, Double_t &lower, Double_t &upper)
static Double_t BetaMean (Double_t alpha, Double_t beta)
static Double_t BetaMode (Double_t alpha, Double_t beta)

Protected Types

enum  
enum  

Protected Member Functions

void Build (const char *name, const char *title)
void Build (const char *name, const char *title)

Protected Attributes

Double_t fBeta_alpha
Double_t fBeta_beta
std::vector< std::pair< Double_t,
Double_t > > 
fBeta_bin_params
Double_t(* fBoundary )(Int_t, Int_t, Double_t, Bool_t)
Double_t fConfLevel
 pointer to a method calculating the boundaries of confidence intervals
TDirectoryfDirectory
TListfFunctions
 pointer to directory holding this TEfficiency object
TGraphAsymmErrorsfPaintGraph
TH2fPaintHisto
 temporary graph for painting
TH1fPassedHistogram
 temporary histogram for painting
EStatOption fStatisticOption
TH1fTotalHistogram
Double_t fWeight
std::vector< std::pair< Double_t,
Double_t > > 
fBeta_bin_params
TDirectoryfDirectory
TListfFunctions
 pointer to directory holding this TEfficiency object
TGraphAsymmErrorsfPaintGraph
TH2fPaintHisto
 temporary graph for painting
TH1fPassedHistogram
 temporary histogram for painting
TH1fTotalHistogram

Detailed Description

Definition at line 35 of file TEfficiency.h.


Member Enumeration Documentation

enum TEfficiency::EStatOption

Definition at line 40 of file TEfficiency.h.

anonymous enum [protected]

Definition at line 68 of file TEfficiency.h.

enum TEfficiency::EStatOption

Definition at line 40 of file TEfficiency.h.

anonymous enum [protected]

Definition at line 68 of file TEfficiency.h.


Constructor & Destructor Documentation

TEfficiency::TEfficiency (  ) 

TEfficiency::TEfficiency ( const TH1 passed,
const TH1 total 
)

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 TH1 passed,
const TH1 total 
)

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 (  ) 


Member Function Documentation

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.

Int_t TEfficiency::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

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.

void TEfficiency::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 1984 of file TEfficiency.cxx.

References TGraph::ExecuteEvent(), TH1::ExecuteEvent(), fPaintGraph, and fPaintHisto.

void TEfficiency::Fill ( Bool_t  bPassed,
Double_t  x,
Double_t  y = 0,
Double_t  z = 0 
)

Definition at line 2000 of file TEfficiency.cxx.

References TH1::Fill(), fPassedHistogram, fTotalHistogram, and GetDimension().

Int_t TEfficiency::FindFixBin ( Double_t  x,
Double_t  y = 0,
Double_t  z = 0 
) const

Definition at line 2031 of file TEfficiency.cxx.

References TAxis::FindFixBin(), fTotalHistogram, GetDimension(), GetGlobalBin(), TH1::GetXaxis(), TH1::GetYaxis(), and TH1::GetZaxis().

Int_t TEfficiency::Fit ( TF1 f1,
Option_t opt = "" 
)

Definition at line 2052 of file TEfficiency.cxx.

References TList::Add(), xmlio::Class, fFunctions, TBinomialEfficiencyFitter::Fit(), fPassedHistogram, fTotalHistogram, option, and result().

Double_t TEfficiency::GetBetaAlpha ( Int_t  bin = -1  )  const [inline]

Definition at line 106 of file TEfficiency.h.

References fBeta_alpha, and fBeta_bin_params.

Referenced by Combine(), GetEfficiency(), GetEfficiencyErrorLow(), GetEfficiencyErrorUp(), and operator=().

Double_t TEfficiency::GetBetaBeta ( Int_t  bin = -1  )  const [inline]

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 112 of file TEfficiency.h.

References fDirectory.

Double_t TEfficiency::GetEfficiency ( Int_t  bin  )  const

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().

Double_t TEfficiency::GetEfficiencyErrorLow ( Int_t  bin  )  const

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.

Double_t TEfficiency::GetEfficiencyErrorUp ( Int_t  bin  )  const

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.

Int_t TEfficiency::GetGlobalBin ( Int_t  binx,
Int_t  biny = 0,
Int_t  binz = 0 
) const

Definition at line 2252 of file TEfficiency.cxx.

References fTotalHistogram, and TH1::GetBin().

Referenced by FindFixBin().

TGraphAsymmErrors* TEfficiency::GetPaintedGraph (  )  const [inline]

Definition at line 117 of file TEfficiency.h.

References fPaintGraph.

TH2* TEfficiency::GetPaintedHistogram (  )  const [inline]

Definition at line 118 of file TEfficiency.h.

References fPaintHisto.

TList* TEfficiency::GetListOfFunctions (  )  const [inline]

Definition at line 119 of file TEfficiency.h.

References fFunctions.

const TH1* TEfficiency::GetPassedHistogram (  )  const [inline]

Definition at line 120 of file TEfficiency.h.

References fPassedHistogram.

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]

Definition at line 122 of file TEfficiency.h.

References fTotalHistogram.

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  ) 

Definition at line 2267 of file TEfficiency.cxx.

References TCollection::IsEmpty().

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::Paint ( Option_t opt  )  [virtual]

Reimplemented from TObject.

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=().

void TEfficiency::SetBetaBinParameters ( Int_t  bin,
Double_t  alpha,
Double_t  beta 
)

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().

Bool_t TEfficiency::SetPassedEvents ( Int_t  bin,
Int_t  events 
)

Definition at line 2849 of file TEfficiency.cxx.

References TObject::Error(), fPassedHistogram, fTotalHistogram, TH1::GetBinContent(), and TH1::SetBinContent().

Bool_t TEfficiency::SetPassedHistogram ( const TH1 rPassed,
Option_t opt 
)

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]

Definition at line 138 of file TEfficiency.h.

References kPosteriorMode, and TObject::SetBit().

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]

Definition at line 140 of file TEfficiency.h.

References kShortestInterval, and TObject::SetBit().

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().

Bool_t TEfficiency::SetTotalEvents ( Int_t  bin,
Int_t  events 
)

Definition at line 3027 of file TEfficiency.cxx.

References TObject::Error(), fPassedHistogram, fTotalHistogram, TH1::GetBinContent(), and TH1::SetBinContent().

Bool_t TEfficiency::SetTotalHistogram ( const TH1 rTotal,
Option_t opt 
)

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]

Definition at line 149 of file TEfficiency.h.

References UsesPosteriorMode().

Bool_t TEfficiency::UsesCentralInterval (  )  const [inline]

Definition at line 150 of file TEfficiency.h.

References UsesShortestInterval().

Bool_t TEfficiency::CheckBinning ( const TH1 pass,
const TH1 total 
) [static]

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().

Double_t TEfficiency::Normal ( Int_t  total,
Int_t  passed,
Double_t  level,
Bool_t  bUpper 
) [static]

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().

Double_t TEfficiency::Wilson ( Int_t  total,
Int_t  passed,
Double_t  level,
Bool_t  bUpper 
) [static]

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().

Double_t TEfficiency::BetaMean ( Double_t  alpha,
Double_t  beta 
) [static]

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().

Double_t TEfficiency::BetaMode ( Double_t  alpha,
Double_t  beta 
) [static]

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.

virtual Int_t TEfficiency::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

void TEfficiency::Draw ( Option_t opt = ""  )  [virtual]

Reimplemented from TObject.

virtual void TEfficiency::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

void TEfficiency::Fill ( Bool_t  bPassed,
Double_t  x,
Double_t  y = 0,
Double_t  z = 0 
)

Int_t TEfficiency::FindFixBin ( Double_t  x,
Double_t  y = 0,
Double_t  z = 0 
) const

Int_t TEfficiency::Fit ( TF1 f1,
Option_t opt = "" 
)

Double_t TEfficiency::GetBetaAlpha ( Int_t  bin = -1  )  const [inline]

Definition at line 106 of file TEfficiency.h.

References fBeta_alpha, and fBeta_bin_params.

Double_t TEfficiency::GetBetaBeta ( Int_t  bin = -1  )  const [inline]

Definition at line 107 of file TEfficiency.h.

References fBeta_beta, and fBeta_bin_params.

Double_t TEfficiency::GetConfidenceLevel (  )  const [inline]

Definition at line 108 of file TEfficiency.h.

References fConfLevel.

TH1* TEfficiency::GetCopyPassedHisto (  )  const

TH1* TEfficiency::GetCopyTotalHisto (  )  const

Int_t TEfficiency::GetDimension (  )  const

TDirectory* TEfficiency::GetDirectory (  )  const [inline]

Definition at line 112 of file TEfficiency.h.

References fDirectory.

Double_t TEfficiency::GetEfficiency ( Int_t  bin  )  const

Double_t TEfficiency::GetEfficiencyErrorLow ( Int_t  bin  )  const

Double_t TEfficiency::GetEfficiencyErrorUp ( Int_t  bin  )  const

Int_t TEfficiency::GetGlobalBin ( Int_t  binx,
Int_t  biny = 0,
Int_t  binz = 0 
) const

TGraphAsymmErrors* TEfficiency::GetPaintedGraph (  )  const [inline]

Definition at line 117 of file TEfficiency.h.

References fPaintGraph.

TH2* TEfficiency::GetPaintedHistogram (  )  const [inline]

Definition at line 118 of file TEfficiency.h.

References fPaintHisto.

TList* TEfficiency::GetListOfFunctions (  )  const [inline]

Definition at line 119 of file TEfficiency.h.

References fFunctions.

const TH1* TEfficiency::GetPassedHistogram (  )  const [inline]

Definition at line 120 of file TEfficiency.h.

References fPassedHistogram.

EStatOption TEfficiency::GetStatisticOption (  )  const [inline]

Definition at line 121 of file TEfficiency.h.

References fStatisticOption.

const TH1* TEfficiency::GetTotalHistogram (  )  const [inline]

Definition at line 122 of file TEfficiency.h.

References fTotalHistogram.

Double_t TEfficiency::GetWeight (  )  const [inline]

Definition at line 123 of file TEfficiency.h.

References fWeight.

void TEfficiency::Merge ( TCollection list  ) 

TEfficiency& TEfficiency::operator+= ( const TEfficiency rhs  ) 

TEfficiency& TEfficiency::operator= ( const TEfficiency rhs  ) 

void TEfficiency::Paint ( Option_t opt  )  [virtual]

Reimplemented from TObject.

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::SetBetaBinParameters ( Int_t  bin,
Double_t  alpha,
Double_t  beta 
)

void TEfficiency::SetConfidenceLevel ( Double_t  level  ) 

void TEfficiency::SetDirectory ( TDirectory dir  ) 

void TEfficiency::SetName ( const char *  name  )  [virtual]

Reimplemented from TNamed.

Bool_t TEfficiency::SetPassedEvents ( Int_t  bin,
Int_t  events 
)

Bool_t TEfficiency::SetPassedHistogram ( const TH1 rPassed,
Option_t opt 
)

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]

Definition at line 138 of file TEfficiency.h.

References kPosteriorMode, and TObject::SetBit().

void TEfficiency::SetShortestInterval ( Bool_t  on = true  )  [inline]

Definition at line 139 of file TEfficiency.h.

References kShortestInterval, and TObject::SetBit().

void TEfficiency::SetCentralInterval ( Bool_t  on = true  )  [inline]

Definition at line 140 of file TEfficiency.h.

References kShortestInterval, and TObject::SetBit().

void TEfficiency::SetStatisticOption ( EStatOption  option  ) 

void TEfficiency::SetTitle ( const char *  title  )  [virtual]

Reimplemented from TNamed.

Bool_t TEfficiency::SetTotalEvents ( Int_t  bin,
Int_t  events 
)

Bool_t TEfficiency::SetTotalHistogram ( const TH1 rTotal,
Option_t opt 
)

void TEfficiency::SetWeight ( Double_t  weight  ) 

Bool_t TEfficiency::UsesBayesianStat (  )  const [inline]

Definition at line 146 of file TEfficiency.h.

References kIsBayesian, and TObject::TestBit().

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]

Definition at line 149 of file TEfficiency.h.

References UsesPosteriorMode().

Bool_t TEfficiency::UsesCentralInterval (  )  const [inline]

Definition at line 150 of file TEfficiency.h.

References UsesShortestInterval().

static Bool_t TEfficiency::CheckBinning ( const TH1 pass,
const TH1 total 
) [static]

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]

static Double_t TEfficiency::BetaMean ( Double_t  alpha,
Double_t  beta 
) [static]

static Double_t TEfficiency::BetaMode ( Double_t  alpha,
Double_t  beta 
) [static]


Member Data Documentation

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().

Double_t(* TEfficiency::fBoundary)(Int_t, Int_t, Double_t, Bool_t) [protected]

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]

pointer to directory holding this TEfficiency object

Definition at line 60 of file TEfficiency.h.

TGraphAsymmErrors* TEfficiency::fPaintGraph [protected]

Definition at line 61 of file TEfficiency.h.

TH2* TEfficiency::fPaintHisto [protected]

temporary graph for painting

Definition at line 62 of file TEfficiency.h.

TH1* TEfficiency::fPassedHistogram [protected]

temporary histogram for painting

Definition at line 63 of file TEfficiency.h.

TH1* TEfficiency::fTotalHistogram [protected]

Definition at line 65 of file TEfficiency.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1