11 #ifndef ROOSTATS_FeldmanCousins
12 #define ROOSTATS_FeldmanCousins
19 #ifndef ROOSTATS_IntervalCalculator
76 std::cout <<
"DEPRECATED, set data in constructor" << std::endl;
80 std::cout <<
"DEPRECATED, use ModelConfig" << std::endl;
85 std::cout <<
"DEPRECATED, use ModelConfig" << std::endl;
90 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)
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
const TKDTreeBinning * bins
RooAbsData * GetPointsToScan()
virtual Double_t ConfidenceLevel() const
Get the Confidence level for the test.
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)
void CreateTestStatSampler() const
initializes fTestStatSampler data member (mutable)
ConfidenceBelt is a concrete implementation of the ConfInterval interface.
virtual void SetData(RooAbsData &)
Set the DataSet.
virtual ~FeldmanCousins()
destructor if(fOwnsWorkspace && fWS) delete fWS;
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
TestStatSampler * GetTestStatSampler() const
Returns instance of TestStatSampler.
PointSetInterval is a concrete implementation of the ConfInterval interface.
virtual PointSetInterval * GetInterval() const
Main interface to get a ConfInterval (will be a PointSetInterval)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
FeldmanCousins(RooAbsData &data, ModelConfig &model)
Common constructor.
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
void CreateParameterPoints() const
initializes fPointsToTest data member (mutable)
virtual Double_t Size() const
Get the size of the test (eg. rate of Type I error)
virtual void SetNuisanceParameters(const RooArgSet &)
specify the nuisance parameters (eg. the rest of the parameters)
void UseAdaptiveSampling(bool flag=true)