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.
Definition at line 39 of file TestStatSampler.h.
| Public Member Functions | |
| virtual | ~TestStatSampler () | 
| virtual double | ConfidenceLevel () const =0 | 
| Get the Confidence level for the test. | |
| virtual double | EvaluateTestStatistic (RooAbsData &data, RooArgSet ¶msOfInterest)=0 | 
| Main interface to evaluate the test statistic on a dataset. | |
| virtual SamplingDistribution * | GetSamplingDistribution (RooArgSet ¶msOfInterest)=0 | 
| Main interface to get a ConfInterval, pure virtual. | |
| virtual TestStatistic * | GetTestStatistic () const =0 | 
| Get the TestStatistic. | |
| virtual void | Initialize (RooAbsArg &testStatistic, RooArgSet ¶msOfInterest, RooArgSet &nuisanceParameters)=0 | 
| Common Initialization. | |
| virtual TClass * | IsA () const | 
| virtual void | SetConfidenceLevel (double cl)=0 | 
| set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval) | |
| virtual void | SetGlobalObservables (const RooArgSet &)=0 | 
| specify the conditional observables | |
| virtual void | SetNuisanceParameters (const RooArgSet &)=0 | 
| specify the nuisance parameters (eg. the rest of the parameters) | |
| virtual void | SetObservables (const RooArgSet &)=0 | 
| specify the observables in the dataset (needed to evaluate the test statistic) | |
| virtual void | SetParametersForTestStat (const RooArgSet &)=0 | 
| specify the values of parameters used when evaluating test statistic | |
| virtual void | SetPdf (RooAbsPdf &)=0 | 
| Set the Pdf, add to the workspace if not already there. | |
| virtual void | SetPriorNuisance (RooAbsPdf *)=0 | 
| How to randomize the prior. Set to nullptr to deactivate randomization. | |
| virtual void | SetSamplingDistName (const char *name)=0 | 
| Set the name of the sampling distribution used for plotting. | |
| virtual void | SetTestSize (double size)=0 | 
| set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval) | |
| virtual void | SetTestStatistic (TestStatistic *testStatistic)=0 | 
| Set the TestStatistic (want the argument to be a function of the data & parameter points. | |
| virtual void | Streamer (TBuffer &) | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
| Static Public Member Functions | |
| static TClass * | Class () | 
| static const char * | Class_Name () | 
| static constexpr Version_t | Class_Version () | 
| static const char * | DeclFileName () | 
#include <RooStats/TestStatSampler.h>
| 
 | inlinevirtual | 
Definition at line 42 of file TestStatSampler.h.
| 
 | static | 
Definition at line 88 of file TestStatSampler.h.
Get the Confidence level for the test.
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
| 
 | inlinestatic | 
Definition at line 88 of file TestStatSampler.h.
| 
 | pure virtual | 
Main interface to evaluate the test statistic on a dataset.
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
| 
 | pure virtual | 
Main interface to get a ConfInterval, pure virtual.
Implemented in RooStats::ToyMCSampler, and RooStats::DebuggingSampler.
| 
 | pure virtual | 
Get the TestStatistic.
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
| 
 | pure virtual | 
Common Initialization.
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
Reimplemented in RooStats::DebuggingSampler, RooStats::ToyMCImportanceSampler, and RooStats::ToyMCSampler.
Definition at line 88 of file TestStatSampler.h.
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
specify the conditional observables
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
specify the nuisance parameters (eg. the rest of the parameters)
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
specify the observables in the dataset (needed to evaluate the test statistic)
Implemented in RooStats::ToyMCSampler.
specify the values of parameters used when evaluating test statistic
Implemented in RooStats::DebuggingSampler, RooStats::ToyMCImportanceSampler, and RooStats::ToyMCSampler.
Set the Pdf, add to the workspace if not already there.
Implemented in RooStats::DebuggingSampler, RooStats::ToyMCImportanceSampler, and RooStats::ToyMCSampler.
How to randomize the prior. Set to nullptr to deactivate randomization.
Implemented in RooStats::ToyMCSampler.
| 
 | pure virtual | 
Set the name of the sampling distribution used for plotting.
Implemented in RooStats::ToyMCSampler.
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
| 
 | pure virtual | 
Set the TestStatistic (want the argument to be a function of the data & parameter points.
Implemented in RooStats::DebuggingSampler, and RooStats::ToyMCSampler.
Reimplemented in RooStats::DebuggingSampler, RooStats::ToyMCImportanceSampler, and RooStats::ToyMCSampler.
| 
 | inline | 
Definition at line 88 of file TestStatSampler.h.