A++ » ROOSTATS » RooStats::FeldmanCousins

class RooStats::FeldmanCousins: public RooStats::IntervalCalculator

Function Members (Methods)

public:
virtual~FeldmanCousins()
voidAdditionalNToysFactor(double fact)
static TClass*Class()
virtual Double_tConfidenceLevel() const
voidCreateConfBelt(bool flag = true)
RooStats::FeldmanCousinsFeldmanCousins(const RooStats::FeldmanCousins&)
RooStats::FeldmanCousinsFeldmanCousins(RooAbsData& data, RooStats::ModelConfig& model)
voidFluctuateNumDataEntries(bool flag = true)
RooStats::ConfidenceBelt*GetConfidenceBelt()
virtual RooStats::PointSetInterval*GetInterval() const
RooAbsData*GetPointsToScan()
RooStats::TestStatSampler*GetTestStatSampler() const
RooStats::IntervalCalculatorRooStats::IntervalCalculator::IntervalCalculator()
RooStats::IntervalCalculatorRooStats::IntervalCalculator::IntervalCalculator(const RooStats::IntervalCalculator&)
virtual TClass*IsA() const
RooStats::FeldmanCousins&operator=(const RooStats::FeldmanCousins&)
voidSaveBeltToFile(bool flag = true)
virtual voidSetConfidenceLevel(Double_t cl)
virtual voidSetData(RooAbsData&)
virtual voidSetModel(const RooStats::ModelConfig&)
voidSetNBins(Int_t bins)
virtual voidSetNuisanceParameters(const RooArgSet&)
voidSetParameterPointsToTest(RooAbsData& pointsToTest)
virtual voidSetParameters(const RooArgSet&)
virtual voidSetPdf(RooAbsPdf&)
voidSetPOIPointsToTest(RooAbsData& poiToTest)
virtual voidSetTestSize(Double_t size)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Double_tSize() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidUseAdaptiveSampling(bool flag = true)
private:
voidCreateParameterPoints() const
voidCreateTestStatSampler() const

Data Members

private:
Bool_tfAdaptiveSamplingcontrols use of adaptive sampling algorithm
Double_tfAdditionalNToysFactorgive user ability to ask for more toys
RooStats::ConfidenceBelt*fConfBelt
Bool_tfCreateBeltcontrols use if ConfidenceBelt should be saved to a TFile
RooAbsData&fDatadata set
Bool_tfDoProfileConstructioninstead of full construction over nuisance parametrs, do profile
Bool_tfFluctuateDatatell ToyMCSampler to fluctuate number of entries in dataset
RooStats::ModelConfig&fModel
Int_tfNbinsnumber of samples per variable
RooAbsData*fPOIToTestvalue of POI points to perform the construction
RooAbsData*fPointsToTestpoints to perform the construction
Bool_tfSaveBeltToFilecontrols use if ConfidenceBelt should be saved to a TFile
Double_tfSizesize of the test (eg. specified rate of Type I error)
RooStats::ToyMCSampler*fTestStatSamplerthe test statistic sampler

Class Charts

Inheritance Chart:
RooStats::IntervalCalculator
RooStats::FeldmanCousins

Function documentation

FeldmanCousins(RooAbsData& data, RooStats::ModelConfig& model)
     FeldmanCousins();
 Common constructor
virtual ~FeldmanCousins()
PointSetInterval* GetInterval() const
 Main interface to get a ConfInterval (will be a PointSetInterval)
Double_t Size() const
 Get the size of the test (eg. rate of Type I error)
{return fSize;}
Double_t ConfidenceLevel() const
 Get the Confidence level for the test
{return 1.-fSize;}
void SetData(RooAbsData& )
 Set the DataSet
void SetPdf(RooAbsPdf& )
 Set the Pdf
void SetParameters(const RooArgSet& )
 specify the parameters of interest in the interval
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
void SetPOIPointsToTest(RooAbsData& poiToTest)
 User-defined set of points to test
void SetTestSize(Double_t size)
 set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
{fSize = size;}
void SetConfidenceLevel(Double_t cl)
 set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
{fSize = 1.-cl;}
void SetModel(const RooStats::ModelConfig& )
RooAbsData* GetPointsToScan()
ConfidenceBelt* GetConfidenceBelt()
{return fConfBelt;}
void UseAdaptiveSampling(bool flag = true)
void AdditionalNToysFactor(double fact)
void SetNBins(Int_t bins)
{fNbins = bins;}
void FluctuateNumDataEntries(bool flag = true)
{fFluctuateData = flag;}
void SaveBeltToFile(bool flag = true)
void CreateConfBelt(bool flag = true)
{fCreateBelt = flag;}
TestStatSampler* GetTestStatSampler() const
 Returns instance of TestStatSampler. Use to change properties of
 TestStatSampler, e.g. GetTestStatSampler.SetTestSize(Double_t size);
void CreateParameterPoints() const
 initializes fPointsToTest data member (mutable)
void CreateTestStatSampler() const
 initializes fTestStatSampler data member (mutable)