34           double &lo, 
double &
hi, 
double nSigma) 
const;
 
   59    inline double operator()(
const double xvec[])
 const override {
 
   60      double mu(xvec[0]),
result(1),factorial(1);
 
   63   result+= pow(mu,k)/factorial;
 
   85    inline double operator()(
const double xvec[])
 const override 
   87   double p1(0.5*(1+xvec[0])),p2(1-p1),
result(0),fact1(1),fact2(1);
 
   89     if(k > 0) { fact2*= k; fact1*= 
_N1-k+1; }
 
   90     result+= fact1/fact2*pow(p1,k)*pow(p2,
_N1-k);
 
  118   double p1(xvec[0]),p2(1-p1),
result(0),fact1(1),fact2(1);
 
  120     if(k > 0) { fact2*= k; fact1*= 
_N1-k+1; }
 
  121     result+= fact1/fact2*pow(p1,k)*pow(p2,
_N1-k);
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
double getMaxLimit(UInt_t) const override
Int_t _n1
WVE Solaris CC5 doesn't want _n or _N here (likely compiler bug)
BinomialSumAsym(Int_t n, Int_t m)
double operator()(const double xvec[]) const override
double getMinLimit(UInt_t) const override
BinomialSumEff(Int_t n, Int_t m)
double operator()(const double xvec[]) const override
double getMinLimit(UInt_t) const override
double getMaxLimit(UInt_t) const override
Int_t _n1
WVE Solaris CC5 doesn't want _n or _N here (likely compiler bug)
double getMinLimit(UInt_t) const override
double getMaxLimit(UInt_t) const override
double operator()(const double xvec[]) const override
RooHistError is a singleton class used to calculate the error bars for each bin of a RooHist object.
bool getBinomialIntervalAsym(Int_t n, Int_t m, double &a1, double &a2, double nSigma=1) const
Return 'nSigma' binomial confidence interval for (n,m).
double _poissonLoLUT[1000]
static const RooHistError & instance()
Return a reference to a singleton object that is created the first time this method is called.
bool getBinomialIntervalEff(Int_t n, Int_t m, double &a1, double &a2, double nSigma=1) const
Return 'nSigma' binomial confidence interval for (n,m).
bool getPoissonIntervalCalc(Int_t n, double &mu1, double &mu2, double nSigma=1) const
Calculate a confidence interval for the expected number of events given n observed (unweighted) event...
bool getInterval(const RooAbsFunc *Qu, const RooAbsFunc *Ql, double pointEstimate, double stepSize, double &lo, double &hi, double nSigma) const
Calculate a confidence interval using the cumulative functions provided.
double seek(const RooAbsFunc &f, double startAt, double step, double value) const
Scan f(x)-value until it changes sign.
bool getPoissonInterval(Int_t n, double &mu1, double &mu2, double nSigma=1) const
Return a confidence interval for the expected number of events given n observed (unweighted) events.
static RooAbsFunc * createPoissonSum(Int_t n)
Create and return a PoissonSum function binding.
RooHistError()
Construct our singleton object.
double _poissonHiLUT[1000]
static RooAbsFunc * createBinomialSum(Int_t n, Int_t m, bool eff)
Create and return a BinomialSum function binding.
static constexpr double infinity()
Return internal infinity representation.