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 void | Initialize(RooAbsData& data, RooAbsPdf& commonPdf, RooArgSet& nullParameters, RooArgSet& alternateParameters, RooArgSet* nuisanceParameters = 0, RooAbsPdf* nuisancePdf = 0) |
virtual void | Initialize(RooAbsData& data, RooAbsPdf& nullPdf, RooAbsPdf& alternatePdf, RooArgSet* nullParameters = 0, RooArgSet* alternateParameters = 0, RooArgSet* nuisanceParameters = 0, RooAbsPdf* nuisancePdf = 0) |
virtual void | Initialize(RooWorkspace& ws, const char* data, const char* commonPdf, RooArgSet& nullParameters, RooArgSet& alternateParameters, RooArgSet* nuisanceParameters = 0, const char* nuisancePdf = 0) |
virtual void | Initialize(RooWorkspace& ws, const char* data, const char* nullPdf, const char* alternatePdf, RooArgSet* nullParameters = 0, RooArgSet* alternateParameters = 0, RooArgSet* nuisanceParameters = 0, const char* nuisancePdf = 0) |
virtual TClass* | IsA() const |
RooStats::HypoTestCalculator& | operator=(const RooStats::HypoTestCalculator&) |
virtual void | SetAlternateParameters(RooArgSet&) |
virtual void | SetAlternatePdf(const char* name) |
virtual void | SetAlternatePdf(RooAbsPdf& pdf) |
virtual void | SetCommonPdf(const char* name) |
virtual void | SetCommonPdf(RooAbsPdf& pdf) |
virtual void | SetData(const char* name) |
virtual void | SetData(RooAbsData& data) |
virtual void | SetNuisanceParameters(RooArgSet&) |
virtual void | SetNuisancePdf(const char*) |
virtual void | SetNuisancePdf(RooAbsPdf&) |
virtual void | SetNullParameters(RooArgSet&) |
virtual void | SetNullPdf(const char* name) |
virtual void | SetNullPdf(RooAbsPdf& pdf) |
virtual void | SetWorkspace(RooWorkspace& ws) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Concrete implementations should have a constructor like: HypoTestCalculator(RooWorkspace*, RooAbsData*,RooAbsPdf*, RooAbsPdf*, RooArgSet*, RooArgSet*) Concrete implementations should have a constructor like: HypoTestCalculator(RooAbsData*,RooAbsPdf*, RooAbsPdf*, RooArgSet*, RooArgSet*)
{}
Initialize the calculator from a given data set, a null pdf and an alternate pdf. The null parameters and alternate parameters can be optionally passed otherwise by default the parameters of the pdf's will be used. In addition, one can give optionally a nuisance pdf with nuisance parameters to be marginalized
Initialize the calculator from a given data set and a common pdf for null and alternate hypothesis. In this case the null parameters and alternate parameters must be given. In addition, one can give optionally a nuisance pdf with nuisance parameters to be marginalized
Initialize the calculator from a workspace and names for the data set, the null pdf and the alternate pdf. The null parameters and alternate parameters can be optionally passed otherwise by default the parameters of the pdf's will be used. In addition, one can give optionally a nuisance pdf with nuisance parameters to be marginalized
Initialize the calculator from a workspace and names for the data set and a common pdf for both the null and the alternate hypothesis. In this case the null parameters and alternate parameters must be given. In addition, one can give optionally a nuisance pdf with nuisance parameters to be marginalized
set a workspace that owns all the necessary components for the analysis
Set a common PDF for both the null and alternate, add to the the workspace if not already there
set the pdf name for an auxillary measurement of the nuisance which will be marginalized by the calculator needs to be implemented by the derived class only if this feature is supported
{}
set the pdf for an auxillary measurement which will be marginalized by the calculator needs to be implemented by the derived class only if this feature is supported
{}
set the parameters for the constraned pdf which will be marginalized by the calculator needs to be implemented by the derived class if this feature is supported
{}