13#ifndef ROOT_TFeldmanCousins
14#define ROOT_TFeldmanCousins
#define ClassDef(name, id)
Class to calculate the CL upper limit using the Feldman-Cousins method as described in PRD V57 #7,...
void SetMuMin(Double_t newMin=0.0)
void SetNobserved(Double_t NObs)
void SetNbackground(Double_t Nbg)
Double_t CalculateLowerLimit(Double_t Nobserved, Double_t Nbackground)
given Nobserved and Nbackground, try different values of mu that give lower limits that are consisten...
Double_t GetNbackground(void) const
Double_t Prob(Int_t N, Double_t mu, Double_t B)
Calculate the poissonian probability for a mean of mu+B events with a variance of N.
void SetCL(Double_t newCL)
Double_t GetNobserved(void) const
Int_t FindLimitsFromTable(Double_t mu)
calculate the probability table for a given mu for n = 0, NMAX and return 1 if the number of observed...
void SetMuStep(Double_t newMuStep=0.005)
Set the step in signal to use when generating tables.
Double_t GetCL(void) const
Double_t GetNMax(void) const
Double_t GetMuMax(void) const
void SetMuMax(Double_t newMax=50.0)
Set maximum value of signal to use in calculating the tables.
Double_t CalculateUpperLimit(Double_t Nobserved, Double_t Nbackground)
given Nobserved and Nbackground, try different values of mu that give upper limits that are consisten...
TFeldmanCousins(Double_t newCL=0.9, TString options="")
Constructor.
Double_t GetLowerLimit(void) const
virtual ~TFeldmanCousins()
Double_t GetMuMin(void) const
Double_t GetUpperLimit(void) const
Double_t GetMuStep(void) const
Mother of all ROOT objects.