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