11#ifndef ROOSTATS_TestStatSampler
12#define ROOSTATS_TestStatSampler
27 class SamplingDistribution;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Common abstract base class for objects that represent a value and a "shape" in RooFit.
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.
This class simply holds a sampling distribution of some test statistic.
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
virtual void SetTestSize(double size)=0
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
virtual void SetConfidenceLevel(double cl)=0
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
virtual void SetObservables(const RooArgSet &)=0
specify the observables in the dataset (needed to evaluate the test statistic)
virtual double ConfidenceLevel() const =0
Get the Confidence level for the test.
virtual void Initialize(RooAbsArg &testStatistic, RooArgSet ¶msOfInterest, RooArgSet &nuisanceParameters)=0
Common Initialization.
virtual TestStatistic * GetTestStatistic() const =0
Get the TestStatistic.
virtual void SetTestStatistic(TestStatistic *testStatistic)=0
Set the TestStatistic (want the argument to be a function of the data & parameter points.
virtual void SetParametersForTestStat(const RooArgSet &)=0
specify the values of parameters used when evaluating test statistic
virtual void SetPriorNuisance(RooAbsPdf *)=0
How to randomize the prior. Set to nullptr to deactivate randomization.
virtual double EvaluateTestStatistic(RooAbsData &data, RooArgSet ¶msOfInterest)=0
Main interface to evaluate the test statistic on a dataset.
virtual void SetNuisanceParameters(const RooArgSet &)=0
specify the nuisance parameters (eg. the rest of the parameters)
virtual ~TestStatSampler()
virtual SamplingDistribution * GetSamplingDistribution(RooArgSet ¶msOfInterest)=0
Main interface to get a ConfInterval, pure virtual.
virtual void SetSamplingDistName(const char *name)=0
Set the name of the sampling distribution used for plotting.
virtual void SetGlobalObservables(const RooArgSet &)=0
specify the conditional observables
virtual void SetPdf(RooAbsPdf &)=0
Set the Pdf, add to the workspace if not already there.
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for the RooStats classes.