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