ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::DebuggingSampler

class RooStats::DebuggingSampler: public RooStats::TestStatSampler

DebuggingSampler is a simple implementation of the DistributionCreator interface used for debugging. The sampling distribution is uniformly random between [0,1] and is INDEPENDENT of the data. So it is not useful for true statistical tests, but it is useful for debugging.

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

Data Members


Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~DebuggingSampler()
SamplingDistribution* GetSamplingDistribution(RooArgSet& paramsOfInterest)
 Main interface to get a ConfInterval, pure virtual
Double_t EvaluateTestStatistic(RooAbsData& , RooArgSet& )
 Main interface to evaluate the test statistic on a dataset
const RooAbsArg* GetTestStatistic() const
 Get the TestStatistic
{return fTestStatistic;}
Double_t ConfidenceLevel() const
 Get the Confidence level for the test
{return 1.-fSize;}
void Initialize(RooAbsArg& , RooArgSet& , RooArgSet& )
 Common Initialization
void SetPdf(RooAbsPdf& )
 Set the Pdf, add to the the workspace if not already there
void SetParameters(RooArgSet& )
 specify the parameters of interest in the interval
void SetNuisanceParameters(RooArgSet& )
 specify the nuisance parameters (eg. the rest of the parameters)
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 SetTestStatistic(RooAbsArg& ) const
 Set the TestStatistic (want the argument to be a function of the data & parameter points