11#ifndef ROOSTATS_DebuggingSampler
12#define ROOSTATS_DebuggingSampler
49 (void)paramsOfInterest;
51 std::vector<double> testStatVec;
52 for(
Int_t i=0; i<1000; ++i){
67 std::cout <<
"GetTestStatistic() IS NOT IMPLEMENTED FOR THIS SAMPLER. Returning nullptr." << std::endl;
98 std::cout <<
"SetTestStatistic(...) IS NOT IMPLEMENTED FOR THIS SAMPLER" << std::endl;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooRealVar represents a variable that can be changed from the outside.
RooRealVar * fTestStatistic
void SetTestSize(double size) override
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
void Initialize(RooAbsArg &, RooArgSet &, RooArgSet &) override
Common Initialization.
void SetParametersForTestStat(const RooArgSet &) override
specify the values of parameters used when evaluating test statistic
TestStatistic * GetTestStatistic() const override
Get the TestStatistic.
virtual void SetParameters(RooArgSet &)
specify the parameters of interest in the interval
double ConfidenceLevel() const override
Get the Confidence level for the test.
void SetPdf(RooAbsPdf &) override
Set the Pdf, add to the workspace if not already there.
void SetConfidenceLevel(double cl) override
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
~DebuggingSampler() override
SamplingDistribution * GetSamplingDistribution(RooArgSet ¶msOfInterest) override
Main interface to get a ConfInterval, pure virtual.
void SetTestStatistic(TestStatistic *) override
Set the TestStatistic (want the argument to be a function of the data & parameter points.
void SetGlobalObservables(const RooArgSet &) override
specify the conditional observables
double EvaluateTestStatistic(RooAbsData &, RooArgSet &) override
Main interface to evaluate the test statistic on a dataset.
void SetNuisanceParameters(const RooArgSet &) override
specify the nuisance parameters (eg. the rest of the parameters)
This class simply holds a sampling distribution of some test statistic.
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
This is the base class for the ROOT Random number generators.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
Namespace for the RooStats classes.