HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults. The interface currently assumes that any hypothesis test calculator can be configured by specifying:
After configuring the calculator, one only needs to ask GetHypoTest, which will return a HypoTestResult 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 | ~HypoTestCalculator() |
static TClass* | Class() |
virtual RooStats::HypoTestResult* | GetHypoTest() const |
virtual TClass* | IsA() const |
RooStats::HypoTestCalculator& | operator=(const RooStats::HypoTestCalculator&) |
virtual void | SetAlternateModel(const RooStats::ModelConfig& model) |
virtual void | SetCommonModel(const RooStats::ModelConfig& model) |
virtual void | SetData(RooAbsData& data) |
virtual void | SetNullModel(const RooStats::ModelConfig& model) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Set a common model for both the null and alternate, add to the the workspace if not already there