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:
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 59 of file HypoTestCalculator.h.
Public Member Functions | |
| virtual | ~HypoTestCalculator () |
| virtual HypoTestResult * | GetHypoTest () const =0 |
| main interface to get a HypoTestResult, pure virtual | |
| virtual TClass * | IsA () const |
| virtual void | SetAlternateModel (const ModelConfig &model)=0 |
| Set the model for the alternate hypothesis. | |
| virtual void | SetCommonModel (const ModelConfig &model) |
| Set a common model for both the null and alternate, add to the workspace if not already there. | |
| virtual void | SetData (RooAbsData &data)=0 |
| Set the DataSet. | |
| virtual void | SetNullModel (const ModelConfig &model)=0 |
| Set the model for the null hypothesis. | |
| 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/HypoTestCalculator.h>
|
inlinevirtual |
Definition at line 64 of file HypoTestCalculator.h.
|
static |
Definition at line 84 of file HypoTestCalculator.h.
|
inlinestatic |
Definition at line 84 of file HypoTestCalculator.h.
|
pure virtual |
main interface to get a HypoTestResult, pure virtual
Implemented in RooStats::AsymptoticCalculator, RooStats::HypoTestCalculatorGeneric, RooStats::ProfileLikelihoodCalculator, and RooStats::CombinedCalculator.
Reimplemented in RooStats::AsymptoticCalculator, RooStats::CombinedCalculator, RooStats::FrequentistCalculator, RooStats::HybridCalculator, RooStats::HypoTestCalculatorGeneric, and RooStats::ProfileLikelihoodCalculator.
Definition at line 84 of file HypoTestCalculator.h.
|
pure virtual |
Set the model for the alternate hypothesis.
Implemented in RooStats::CombinedCalculator, RooStats::AsymptoticCalculator, RooStats::HybridCalculator, and RooStats::HypoTestCalculatorGeneric.
|
inlinevirtual |
Set a common model for both the null and alternate, add to the workspace if not already there.
Definition at line 70 of file HypoTestCalculator.h.
|
pure virtual |
Set the DataSet.
Implemented in RooStats::AsymptoticCalculator, RooStats::CombinedCalculator, and RooStats::HypoTestCalculatorGeneric.
|
pure virtual |
Set the model for the null hypothesis.
Implemented in RooStats::CombinedCalculator, RooStats::AsymptoticCalculator, RooStats::HybridCalculator, and RooStats::HypoTestCalculatorGeneric.
|
inline |
Definition at line 84 of file HypoTestCalculator.h.