11#ifndef ROOSTATS_DebuggingSampler
12#define ROOSTATS_DebuggingSampler
49 (void)paramsOfInterest;
51 std::vector<double> testStatVec;
53for(
Int_t i=0; i<1000; ++i){
68 std::cout <<
"GetTestStatistic() IS NOT IMPLEMENTED FOR THIS SAMPLER. Returning nullptr." << std::endl;
99 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)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
void reserve(Storage_t::size_type count)
Abstract base class for binned and unbinned datasets.
Abstract interface for all probability density functions.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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.