ROOT
6.06/09
Reference Guide
|
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:
a model for the null, a model for the alternate, a data set, a set of parameters of which specify the null (including values and const/non-const status), and a set of parameters of which specify the alternate (including values and const/non-const status).
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 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.
Definition at line 62 of file HypoTestCalculator.h.
Public Member Functions | |
virtual | ~HypoTestCalculator () |
virtual HypoTestResult * | GetHypoTest () const =0 |
virtual void | SetCommonModel (const ModelConfig &model) |
virtual void | SetNullModel (const ModelConfig &model)=0 |
virtual void | SetAlternateModel (const ModelConfig &model)=0 |
virtual void | SetData (RooAbsData &data)=0 |
#include <RooStats/HypoTestCalculator.h>
|
inlinevirtual |
Definition at line 67 of file HypoTestCalculator.h.
|
pure virtual |
|
pure virtual |
Implemented in RooStats::CombinedCalculator, RooStats::HybridCalculatorOriginal, RooStats::AsymptoticCalculator, RooStats::HybridCalculator, and RooStats::HypoTestCalculatorGeneric.
Referenced by SetCommonModel().
|
inlinevirtual |
Definition at line 73 of file HypoTestCalculator.h.
|
pure virtual |
|
pure virtual |
Implemented in RooStats::CombinedCalculator, RooStats::HybridCalculatorOriginal, RooStats::AsymptoticCalculator, RooStats::HybridCalculator, and RooStats::HypoTestCalculatorGeneric.
Referenced by SetCommonModel().