11#ifndef ROOSTATS_FeldmanCousins
12#define ROOSTATS_FeldmanCousins
53 std::cout <<
"DEPRECATED, set data in constructor" << std::endl;
57 std::cout <<
"DEPRECATED, use ModelConfig" << std::endl;
62 std::cout <<
"DEPRECATED, use ModelConfig" << std::endl;
67 std::cout <<
"DEPRECATED, use ModelConfig" << std::endl;
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
ConfidenceBelt is a concrete implementation of the ConfInterval interface.
The FeldmanCousins class (like the Feldman-Cousins technique) is essentially a specific configuration...
ConfidenceBelt * fConfBelt
virtual PointSetInterval * GetInterval() const
Main interface to get a ConfInterval (will be a PointSetInterval)
void CreateParameterPoints() const
initializes fPointsToTest data member (mutable)
FeldmanCousins(RooAbsData &data, ModelConfig &model)
Common constructor.
void AdditionalNToysFactor(double fact)
void SetPOIPointsToTest(RooAbsData &poiToTest)
User-defined set of points to test.
void UseAdaptiveSampling(bool flag=true)
virtual void SetData(RooAbsData &)
Set the DataSet.
TestStatSampler * GetTestStatSampler() const
Returns instance of TestStatSampler.
Double_t fAdditionalNToysFactor
RooAbsData * GetPointsToScan()
void CreateTestStatSampler() const
initializes fTestStatSampler data member (mutable)
void SaveBeltToFile(bool flag=true)
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)
Bool_t fDoProfileConstruction
void CreateConfBelt(bool flag=true)
virtual Double_t ConfidenceLevel() const
Get the Confidence level for the test.
RooAbsData * fPointsToTest
virtual ~FeldmanCousins()
destructor
ToyMCSampler * fTestStatSampler
virtual void SetPdf(RooAbsPdf &)
Set the Pdf.
void FluctuateNumDataEntries(bool flag=true)
virtual void SetModel(const ModelConfig &)
set the model
virtual Double_t Size() const
Get the size of the test (eg. rate of Type I error)
void SetNBins(Int_t bins)
void SetParameterPointsToTest(RooAbsData &pointsToTest)
User-defined set of points to test.
virtual void SetConfidenceLevel(Double_t cl)
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
virtual void SetNuisanceParameters(const RooArgSet &)
specify the nuisance parameters (eg. the rest of the parameters)
ConfidenceBelt * GetConfidenceBelt()
Get the confidence belt. This requires that CreateConfBelt() has been set.
virtual void SetParameters(const RooArgSet &)
specify the parameters of interest in the interval
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...
PointSetInterval is a concrete implementation of the ConfInterval interface.
TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions.
ToyMCSampler is an implementation of the TestStatSampler interface.
Namespace for the RooStats classes.