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:
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.
virtual | ~IntervalCalculator() |
static TClass* | Class() |
virtual Double_t | ConfidenceLevel() const |
virtual RooStats::ConfInterval* | GetInterval() const |
virtual TClass* | IsA() const |
RooStats::IntervalCalculator& | operator=(const RooStats::IntervalCalculator&) |
virtual void | SetConfidenceLevel(Double_t cl) |
virtual void | SetData(RooAbsData&) |
virtual void | SetData(const char* name) |
virtual void | SetNuisanceParameters(RooArgSet&) |
virtual void | SetParameters(RooArgSet&) |
virtual void | SetPdf(RooAbsPdf&) |
virtual void | SetPdf(const char* name) |
virtual void | SetSize(Double_t size) |
virtual void | SetWorkspace(RooWorkspace& ws) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual Double_t | Size() const |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
set a workspace that owns all the necessary components for the analysis
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)