13 #ifndef ROOT_TFeldmanCousins 14 #define ROOT_TFeldmanCousins 67 Double_t
Prob(Int_t
N, Double_t mu, Double_t
B);
93 inline Double_t
GetCL(
void)
const {
return fCL; }
102 inline void SetCL(Double_t newCL) { fCL = newCL; }
104 inline void SetMuMin(Double_t newMin = 0.0) { fMuMin = newMin; }
105 void SetMuMax(Double_t newMax = 50.0);
106 void SetMuStep(Double_t newMuStep = 0.005);
TFeldmanCousins(Double_t newCL=0.9, TString options="")
Constructor.
void SetMuStep(Double_t newMuStep=0.005)
Set the step in signal to use when generating tables.
void SetCL(Double_t newCL)
virtual ~TFeldmanCousins()
Double_t GetUpperLimit(void) const
Double_t GetMuStep(void) const
void SetNobserved(Double_t NObs)
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 SetMuMin(Double_t newMin=0.0)
Double_t GetNobserved(void) const
Double_t GetCL(void) const
Double_t GetNbackground(void) const
Double_t GetLowerLimit(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 SetMuMax(Double_t newMax=50.0)
Set maximum value of signal to use in calculating the tables.
Double_t GetNMax(void) const
Double_t GetMuMin(void) const
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...
Class to calculate the CL upper limit using the Feldman-Cousins method as described in PRD V57 #7...
Double_t GetMuMax(void) const
void SetNbackground(Double_t Nbg)
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...