/// \file /// \ingroup tutorial_math /// \notebook -nodraw /// Example of the usage of the TRolke class /// The TRolke class computes the profile likelihood /// confidence limits for 7 different model assumptions /// on systematic/statistical uncertainties /// /// Please read TRolke.cxx and TRolke.h for more docs. /// /// \macro_output /// \macro_code /// /// \authors Jan Conrad. Johan Lundberg #include "TROOT.h" #include "TSystem.h" #include "TRolke.h" #include "Riostream.h" void Rolke() { // 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<<" ======================================================== " <