11#ifndef ROOSTATS_NeymanConstruction
12#define ROOSTATS_NeymanConstruction
81 std::cout <<
"DEPRECATED, use ModelConfig"<<std::endl;
86 std::cout <<
"DEPRECATED, use ModelConfig"<<std::endl;
91 std::cout <<
"DEPRECATED, use ModelConfig"<<std::endl;
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
ConfidenceBelt is a concrete implementation of the ConfInterval interface.
IntervalCalculator is an interface class for a tools which produce RooStats ConfIntervals.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
NeymanConstruction is a concrete implementation of the NeymanConstruction interface that,...
RooAbsData * fPointsToTest
Double_t fAdditionalNToysFactor
virtual void SetTestSize(Double_t size)
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
virtual void SetParameters(const RooArgSet &)
specify the parameters of interest in the interval
TestStatSampler * GetTestStatSampler(void)
Returns instance of TestStatSampler.
virtual void SetNuisanceParameters(const RooArgSet &)
specify the nuisance parameters (eg. the rest of the parameters)
ConfidenceBelt * fConfBelt
void SaveBeltToFile(bool flag=true)
save the confidence belt to a file
ConfidenceBelt * GetConfidenceBelt()
get confidence belt
virtual void SetModel(const ModelConfig &model)
Set ModelConfig.
virtual PointSetInterval * GetInterval() const
Main interface to get a ConfInterval (will be a PointSetInterval)
void SetTestStatSampler(TestStatSampler &sampler)
in addition to interface we also need: Set the TestStatSampler (eg.
virtual void SetPdf(RooAbsPdf &)
Set the Pdf, add to the the workspace if not already there.
void SetLeftSideTailFraction(Double_t leftSideFraction=0.)
fLeftSideTailFraction*fSize defines lower edge of acceptance region.
void UseAdaptiveSampling(bool flag=true)
adaptive sampling algorithm to speed up interval calculation
void AdditionalNToysFactor(double fact)
give user ability to ask for more toys
virtual ~NeymanConstruction()
default constructor if(fOwnsWorkspace && fWS) delete fWS; if(fConfBelt) delete fConfBelt;
virtual Double_t ConfidenceLevel() const
Get the Confidence level for the test.
Double_t fLeftSideFraction
ModelConfig & fModel
data set
void CreateConfBelt(bool flag=true)
should create confidence belt
RooAbsData & fData
size of the test (eg. specified rate of Type I error)
void SetParameterPointsToTest(RooAbsData &pointsToTest)
User-defined set of points to test.
NeymanConstruction(RooAbsData &data, ModelConfig &model)
NeymanConstruction();.
virtual Double_t Size() const
This class can make regularly spaced scans based on range stored in RooRealVars.
TestStatSampler * fTestStatSampler
virtual void SetConfidenceLevel(Double_t cl)
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
virtual void SetData(RooAbsData &data)
Set the DataSet.
PointSetInterval is a concrete implementation of the ConfInterval interface.
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer