IntervalCalculator is an interface class for a tools which produce RooStats ConfIntervals.
The interface currently assumes that any interval calculator can be configured by specifying:
The interface allows one to pass the model, data, and parameters via a workspace and then specify them with names. The interface will be extended so that one does not need to use a workspace.
After configuring the calculator, one only needs to ask GetInterval, which will return a ConfInterval pointer.
The concrete implementations of this interface should deal with the details of how the nuisance parameters are dealt with (eg. integration vs. profiling) and which test-statistic is used (perhaps this should be added to the interface).
The motivation for this interface is that we hope to be able to specify the problem in a common way for several concrete calculators.
Definition at line 55 of file IntervalCalculator.h.
Public Member Functions | |
virtual | ~IntervalCalculator () |
virtual double | ConfidenceLevel () const =0 |
Get the Confidence level for the test. | |
virtual ConfInterval * | GetInterval () const =0 |
Main interface to get a ConfInterval, pure virtual. | |
virtual TClass * | IsA () const |
virtual void | SetConfidenceLevel (double cl)=0 |
set the confidence level for the interval (e.g. 0.95 for a 95% Confidence Interval) | |
virtual void | SetData (RooAbsData &)=0 |
Set the DataSet ( add to the workspace if not already there ?) | |
virtual void | SetModel (const ModelConfig &)=0 |
Set the Model. | |
virtual void | SetTestSize (double size)=0 |
set the size of the test (rate of Type I error) ( e.g. 0.05 for a 95% Confidence Interval) | |
virtual double | Size () const =0 |
Get the size of the test (eg. rate of Type I error) | |
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/IntervalCalculator.h>
|
inlinevirtual |
Definition at line 59 of file IntervalCalculator.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 83 of file IntervalCalculator.h.
|
pure virtual |
Get the Confidence level for the test.
Implemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
inlinestatic |
Definition at line 83 of file IntervalCalculator.h.
|
pure virtual |
Main interface to get a ConfInterval, pure virtual.
Implemented in RooStats::BayesianCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, RooStats::NeymanConstruction, RooStats::ProfileLikelihoodCalculator, and RooStats::CombinedCalculator.
|
inlinevirtual |
Reimplemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, RooStats::NeymanConstruction, and RooStats::ProfileLikelihoodCalculator.
Definition at line 83 of file IntervalCalculator.h.
|
pure virtual |
set the confidence level for the interval (e.g. 0.95 for a 95% Confidence Interval)
Implemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
pure virtual |
Set the DataSet ( add to the workspace if not already there ?)
Implemented in RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
pure virtual |
Set the Model.
Implemented in RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
pure virtual |
set the size of the test (rate of Type I error) ( e.g. 0.05 for a 95% Confidence Interval)
Implemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
pure virtual |
Get the size of the test (eg. rate of Type I error)
Implemented in RooStats::BayesianCalculator, RooStats::CombinedCalculator, RooStats::FeldmanCousins, RooStats::HypoTestInverter, RooStats::MCMCCalculator, and RooStats::NeymanConstruction.
|
virtual |
|
inline |
Definition at line 83 of file IntervalCalculator.h.