31void rs801_HypoTestInverterOriginal()
35 RooRealVar r(
"r",
"cross-section ratio", 3.74, 0, 50);
42 RooExtendPdf bkgPdf(
"bkgPdf",
"B-only model", flatPdf, nb);
47 myhc.SetTestStatistic(2);
48 myhc.SetNumberOfToys(1000);
49 myhc.UseNuisance(
false);
53 myInverter.SetTestSize(0.10);
54 myInverter.UseCLs(
true);
57 myInverter.RunAutoScan(3., 5, myInverter.Size() / 2, 0.005);
71 std::cout <<
"The computed upper limit is: " << upperLimit << std::endl;
72 std::cout <<
"an estimated error on this upper limit is: " << ulError << std::endl;
77 rs801_HypoTestInverterOriginal();
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooConstVar represent a constant real-valued object.
RooDataSet is a container class to hold unbinned data.
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
RooPolynomial implements a polynomial p.d.f of the form.
RooRealVar represents a variable that can be changed from the outside.
HybridCalculatorOriginal class.
This class is now deprecated and to be replaced by the HypoTestInverter.
Class to plot a HypoTestInverterResult, the output of the HypoTestInverter calculator.
HypoTestInverterResult class holds the array of hypothesis test results and compute a confidence inte...
Double_t UpperLimitEstimatedError()
Estimate of lower limit error function evaluates only a rough error on the lower limit.
A TGraphErrors is a TGraph with error bars.
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
RooConstVar & RooConst(Double_t val)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Namespace for the RooStats classes.