// Example of the usage of the TRolke class #include "TROOT.h" #include "TSystem.h" #include "TRolke.h" #include "Riostream.h" void Rolke() { ////////////////////////////////////////////////////////// // // The TRolke class computes the profile likelihood // confidence limits for 7 different model assumptions // on systematic/statistical uncertainties // // Author : Jan Conrad (CERN) 2004 // Johan Lundberg (CERN) 2009 // // Please read TRolke.cxx and TRolke.h for more docs. // ---------- -------- // ////////////////////////////////////////////////////// /* variables used throughout the example */ Double_t bm; Double_t tau; Int_t mid; Int_t m; Int_t z; Int_t y; Int_t x; Double_t e; Double_t em; Double_t sde; Double_t sdb; Double_t b; Double_t alpha; //Confidence Level // make TRolke objects TRolke tr; // Double_t ul ; // upper limit Double_t ll ; // lower limit ///////////////////////////////////////////////////////////// // Model 1 assumes: // // Poisson uncertainty in the background estimate // Binomial uncertainty in the efficiency estimate // cout << endl<<" ======================================================== " <