17 if (!
gROOT->GetClass(
"TFeldmanCousins"))
29 Double_t ul =
f.CalculateUpperLimit(Nobserved, Nbackground);
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,...