17 if (!
gROOT->GetClass(
"TFeldmanCousins"))
32 cout <<
"For " << Nobserved <<
" data observed with and estimated background"<<endl;
33 cout <<
"of " << Nbackground <<
" candidates, the Feldman-Cousins method of "<<endl;
34 cout <<
"calculating confidence limits gives:"<<endl;
35 cout <<
"\tUpper Limit = " << ul << endl;
36 cout <<
"\tLower Limit = " << ll << endl;
37 cout <<
"at the 90% CL"<< endl;
#define R__LOAD_LIBRARY(LIBRARY)
Class to calculate the CL upper limit using the Feldman-Cousins method as described in PRD V57 #7,...
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...