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_t BinomialWithTauExpZ(Double_t sExp, Double_t bExp, Double_t tau)
Double_t BinomialObsZ(Double_t nObs, Double_t bExp, Double_t fractionalBUncertainty)
Double_t BinomialWithTauObsZ(Double_t nObs, Double_t bExp, Double_t tau)
Double_t BinomialWithTauObsP(Double_t nObs, Double_t bExp, Double_t tau)
Double_t BinomialObsP(Double_t nObs, Double_t, Double_t fractionalBUncertainty)
Double_t BinomialWithTauExpP(Double_t sExp, Double_t bExp, Double_t tau)
Double_t BinomialExpZ(Double_t sExp, Double_t bExp, Double_t fractionalBUncertainty)
Double_t BinomialExpP(Double_t sExp, Double_t bExp, Double_t fractionalBUncertainty)
Namespace for the RooStats classes.