11 #ifndef ROOSTATS_CombinedCalculator 12 #define ROOSTATS_CombinedCalculator 15 #ifndef ROOSTATS_IntervalCalculator 19 #ifndef ROOSTATS_HypoTestCalculator 23 #ifndef ROOSTATS_ModelConfig 86 fPOI(paramsOfInterest)
virtual ~CombinedCalculator()
destructor.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
IntervalCalculator is an interface class for a tools which produce RooStats ConfIntervals.
virtual void SetTestSize(Double_t size)
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval) ...
HypoTestResult is a base class for results from hypothesis tests.
RooAbsPdf * GetPdf() const
virtual void SetNullModel(const ModelConfig &)
virtual void SetAlternateModel(const ModelConfig &)
virtual void SetModel(const ModelConfig &model)
set the model (in this case can set only the parameters for the null hypothesis)
virtual HypoTestResult * GetHypoTest() const =0
main interface to get a HypoTestResult, pure virtual
virtual ConfInterval * GetInterval() const =0
Main interface to get a ConfInterval, pure virtual.
virtual void SetAlternateParameters(const RooArgSet &set)
set parameter values for the alternate if using a common PDF
#define ClassDef(name, id)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual void SetPdf(RooAbsPdf &pdf)
Set the Pdf.
virtual void SetData(RooAbsData &data)
Set the DataSet, add to the the workspace if not already there.
virtual void SetNuisanceParameters(const RooArgSet &set)
specify the nuisance parameters (eg. the rest of the parameters)
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
virtual void SetConditionalObservables(const RooArgSet &set)
set conditional observables needed for computing the NLL
RooAbsData * GetData() const
const RooArgSet * GetConditionalObservables() const
get RooArgSet for conditional observables (return NULL if not existing)
RooArgSet fConditionalObs
virtual void SetParameters(const RooArgSet &set)
specify the parameters of interest in the interval
virtual Double_t Size() const
Get the size of the test (eg. rate of Type I error)
RooAbsData is the common abstract base class for binned and unbinned datasets.
CombinedCalculator is an interface class for a tools which can produce both RooStats HypoTestResults ...
CombinedCalculator(RooAbsData &data, RooAbsPdf &pdf, const RooArgSet ¶msOfInterest, Double_t size=0.05, const RooArgSet *nullParams=0, const RooArgSet *altParams=0, const RooArgSet *nuisParams=0)
RooArgSet fAlternateParams
ConfInterval is an interface class for a generic interval in the RooStats framework.
Namespace for the RooStats classes.
RooAbsPdf * GetPdf() const
get model PDF (return NULL if pdf has not been specified or does not exist)
const RooArgSet * GetParametersOfInterest() const
get RooArgSet containing the parameter of interest (return NULL if not existing)
virtual void SetNullParameters(const RooArgSet &set)
set parameter values for the null if using a common PDF
CombinedCalculator(RooAbsData &data, const ModelConfig &model, Double_t size=0.05)
constructor from data and model configuration
virtual void SetConfidenceLevel(Double_t cl)
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval) ...
virtual Double_t ConfidenceLevel() const
Get the Confidence level for the test.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
const RooArgSet * GetNuisanceParameters() const
get RooArgSet containing the nuisance parameters (return NULL if not existing)
const RooArgSet * GetSnapshot() const
get RooArgSet for parameters for a particular hypothesis (return NULL if not existing) ...