#include <TLimit.h>
Public Member Functions | |
TLimit () | |
virtual | ~TLimit () |
TLimit () | |
virtual | ~TLimit () |
Static Public Member Functions | |
static TConfidenceLevel * | ComputeLimit (TLimitDataSource *data, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (Double_t s, Double_t b, Int_t d, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (Double_t s, Double_t b, Int_t d, TVectorD *se, TVectorD *be, TObjArray *, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (TH1 *s, TH1 *b, TH1 *d, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (TH1 *s, TH1 *b, TH1 *d, TVectorD *se, TVectorD *be, TObjArray *, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (TLimitDataSource *data, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (Double_t s, Double_t b, Int_t d, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (Double_t s, Double_t b, Int_t d, TVectorD *se, TVectorD *be, TObjArray *, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (TH1 *s, TH1 *b, TH1 *d, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
static TConfidenceLevel * | ComputeLimit (TH1 *s, TH1 *b, TH1 *d, TVectorD *se, TVectorD *be, TObjArray *, Int_t nmc=50000, bool stat=false, TRandom *generator=0) |
Static Protected Member Functions | |
static bool | Fluctuate (TLimitDataSource *input, TLimitDataSource *output, bool init, TRandom *, bool stat=false) |
static Double_t | LogLikelihood (Double_t s, Double_t b, Double_t b2, Double_t d) |
static bool | Fluctuate (TLimitDataSource *input, TLimitDataSource *output, bool init, TRandom *, bool stat=false) |
static Double_t | LogLikelihood (Double_t s, Double_t b, Double_t b2, Double_t d) |
Static Private Attributes | |
static TArrayD * | fgTable |
static TOrdCollection * | fgSystNames |
static TArrayD * | fgTable |
static TOrdCollection * | fgSystNames |
Definition at line 31 of file TLimit.h.
bool TLimit::Fluctuate | ( | TLimitDataSource * | input, | |
TLimitDataSource * | output, | |||
bool | init, | |||
TRandom * | , | |||
bool | stat = false | |||
) | [static, protected] |
Definition at line 235 of file TLimit.cxx.
References TOrdCollection::AddLast(), TOrdCollection::BinarySearch(), fgSystNames, TRandom::Gaus(), TH1::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TCollection::GetSize(), i, TOrdCollection::IndexOf(), kFALSE, kTRUE, TObjArray::MakeIterator(), name, TIterator::Next(), output(), TH1::Scale(), TH1::SetBinContent(), TH1::SetDirectory(), and TOrdCollection::Sort().
TConfidenceLevel * TLimit::ComputeLimit | ( | TLimitDataSource * | data, | |
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
Definition at line 51 of file TLimit.cxx.
References TObjArray::At(), b, buffer, d, TMath::Exp(), TLimitDataSource::GetBackground(), TObjArray::GetLast(), TLimitDataSource::GetSignal(), i, TRandom::Poisson(), result(), s, and s2.
Referenced by ComputeLimit(), G__G__Hist_347_0_4(), G__G__Hist_347_0_5(), G__G__Hist_347_0_6(), G__G__Hist_347_0_7(), G__G__Hist_347_0_8(), G__setup_memfuncTLimit(), and limit().
static bool TLimit::Fluctuate | ( | TLimitDataSource * | input, | |
TLimitDataSource * | output, | |||
bool | init, | |||
TRandom * | , | |||
bool | stat = false | |||
) | [static, protected] |
static Double_t TLimit::LogLikelihood | ( | Double_t | s, | |
Double_t | b, | |||
Double_t | b2, | |||
Double_t | d | |||
) | [static, protected] |
static TConfidenceLevel* TLimit::ComputeLimit | ( | TLimitDataSource * | data, | |
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
static TConfidenceLevel* TLimit::ComputeLimit | ( | Double_t | s, | |
Double_t | b, | |||
Int_t | d, | |||
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
static TConfidenceLevel* TLimit::ComputeLimit | ( | Double_t | s, | |
Double_t | b, | |||
Int_t | d, | |||
TVectorD * | se, | |||
TVectorD * | be, | |||
TObjArray * | , | |||
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
static TConfidenceLevel* TLimit::ComputeLimit | ( | TH1 * | s, | |
TH1 * | b, | |||
TH1 * | d, | |||
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
static TConfidenceLevel* TLimit::ComputeLimit | ( | TH1 * | s, | |
TH1 * | b, | |||
TH1 * | d, | |||
TVectorD * | se, | |||
TVectorD * | be, | |||
TObjArray * | , | |||
Int_t | nmc = 50000 , |
|||
bool | stat = false , |
|||
TRandom * | generator = 0 | |||
) | [static] |
TArrayD* TLimit::fgTable [static, private] |
TOrdCollection* TLimit::fgSystNames [static, private] |
TArrayD* TLimit::fgTable [static, private] |
TOrdCollection* TLimit::fgSystNames [static, private] |