44using std::cout, std::endl;
46void rs_numbercountingutils()
76 double sExpected = 50;
77 double bExpected = 100;
78 double relativeBkgUncert = 0.1;
82 cout <<
"expected p-value =" << pExp <<
" Z value (Gaussian sigma) = " << zExp << endl;
86 double observed = 150;
89 cout <<
"observed p-value =" << pObs <<
" Z value (Gaussian sigma) = " << zObs << endl;
111 cout <<
"expected p-value =" << pExpWithTau <<
" Z value (Gaussian sigma) = " << zExpWithTau << endl;
117 cout <<
"observed p-value =" << pObsWithTau <<
" Z value (Gaussian sigma) = " << zObsWithTau << endl;
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
double BinomialWithTauExpZ(double sExp, double bExp, double tau)
See BinomialWithTauExpP.
double BinomialExpZ(double sExp, double bExp, double fractionalBUncertainty)
Expected P-value for s=nullptr in a ratio of Poisson means.
double BinomialExpP(double sExp, double bExp, double fractionalBUncertainty)
See BinomialExpP.
double BinomialWithTauObsZ(double nObs, double bExp, double tau)
See BinomialWithTauObsP.
double BinomialObsP(double nObs, double, double fractionalBUncertainty)
P-value for s=nullptr in a ratio of Poisson means.
double BinomialWithTauExpP(double sExp, double bExp, double tau)
Expected P-value for s=nullptr in a ratio of Poisson means.
double BinomialWithTauObsP(double nObs, double bExp, double tau)
P-value for s=nullptr in a ratio of Poisson means.
double BinomialObsZ(double nObs, double bExp, double fractionalBUncertainty)
See BinomialObsP.
Namespace for the RooStats classes.