ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::TestStatSampler

class RooStats::TestStatSampler


TestStatSampler is an interface class for a tools which produce RooStats SamplingDistributions. Tools that implement this interface are expected to be used for coverage studies, the Neyman Construction, etc.



Function Members (Methods)

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

public:
virtual~TestStatSampler()
static TClass*Class()
virtual Double_tConfidenceLevel() const
virtual Double_tEvaluateTestStatistic(RooAbsData& data, RooArgSet& paramsOfInterest)
virtual RooStats::SamplingDistribution*GetSamplingDistribution(RooArgSet& paramsOfInterest)
virtual RooStats::TestStatistic*GetTestStatistic() const
virtual voidInitialize(RooAbsArg& testStatistic, RooArgSet& paramsOfInterest, RooArgSet& nuisanceParameters)
virtual TClass*IsA() const
RooStats::TestStatSampler&operator=(const RooStats::TestStatSampler&)
virtual voidSetConfidenceLevel(Double_t cl)
virtual voidSetGlobalObservables(const RooArgSet&)
virtual voidSetNuisanceParameters(const RooArgSet&)
virtual voidSetObservables(const RooArgSet&)
virtual voidSetParametersForTestStat(const RooArgSet&)
virtual voidSetPdf(RooAbsPdf&)
virtual voidSetPriorNuisance(RooAbsPdf*)
virtual voidSetSamplingDistName(const char* name)
virtual voidSetTestSize(Double_t size)
virtual voidSetTestStatistic(RooStats::TestStatistic* testStatistic)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~TestStatSampler()
     TestStatSampler();
{}
SamplingDistribution* GetSamplingDistribution(RooArgSet& paramsOfInterest)
 Main interface to get a ConfInterval, pure virtual
Double_t EvaluateTestStatistic(RooAbsData& data, RooArgSet& paramsOfInterest)
 Main interface to evaluate the test statistic on a dataset
TestStatistic* GetTestStatistic() const
 Get the TestStatistic
Double_t ConfidenceLevel() const
 Get the Confidence level for the test
void Initialize(RooAbsArg& testStatistic, RooArgSet& paramsOfInterest, RooArgSet& nuisanceParameters)
 Common Initialization
void SetPdf(RooAbsPdf& )
 Set the Pdf, add to the the workspace if not already there
void SetPriorNuisance(RooAbsPdf* )
 How to randomize the prior. Set to NULL to deactivate randomization.
void SetParametersForTestStat(const RooArgSet& )
 specify the values of parameters used when evaluating test statistic
void SetNuisanceParameters(const RooArgSet& )
 REMOVE THIS
 specify the parameters of interest in the interval
      virtual void SetParameters(const RooArgSet&) = 0;
 specify the nuisance parameters (eg. the rest of the parameters)
void SetObservables(const RooArgSet& )
 specify the observables in the dataset (needed to evaluate the test statistic)
void SetGlobalObservables(const RooArgSet& )
 specify the conditional observables
void SetTestSize(Double_t size)
 set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
void SetConfidenceLevel(Double_t cl)
 set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
void SetTestStatistic(RooStats::TestStatistic* testStatistic)
 Set the TestStatistic (want the argument to be a function of the data & parameter points
void SetSamplingDistName(const char* name)
 Set the name of the sampling distribution used for plotting