16 #ifndef ROOSTATS_HybridCalculatorOriginal 17 #define ROOSTATS_HybridCalculatorOriginal 19 #ifndef ROOSTATS_HypoTestCalculator 26 #ifndef ROOSTATS_HybridResult 30 #ifndef ROOSTATS_ModelConfig 101 const RooArgSet* nuisance_parameters = 0,
103 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
109 const RooArgSet* nuisance_parameters = 0,
111 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
118 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
185 void PrintMore(
const char* options)
const;
191 void RunToys(std::vector<double>& bVals, std::vector<double>& sbVals,
unsigned int nToys,
bool usePriors)
const;
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
virtual void SetCommonPdf(RooAbsPdf &pdf)
void SetNuisancePdf(RooAbsPdf &prior_pdf)
const RooArgSet * fNuisanceParameters
unsigned int fTestStatisticsIdx
HybridCalculatorOriginal class.
virtual void SetNullPdf(RooAbsPdf &pdf)
HybridResult * Calculate(TH1 &data, unsigned int nToys, bool usePriors) const
void SetNumberOfToys(unsigned int ntoys)
#define ClassDef(name, id)
virtual void SetNullParameters(const RooArgSet &)
The TNamed class is the base class for all named ROOT classes.
virtual HybridResult * GetHypoTest() const
inherited methods from HypoTestCalculator interface
virtual void SetAlternateModel(const ModelConfig &)
virtual void SetNullModel(const ModelConfig &)
void RunToys(std::vector< double > &bVals, std::vector< double > &sbVals, unsigned int nToys, bool usePriors) const
bool DoCheckInputs() const
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
HybridCalculatorOriginal(const char *name=0)
Dummy Constructor with only name.
virtual void SetData(RooAbsData &data)
void SetGenerateBinned(bool on=true)
void UseNuisance(bool on=true)
RooArgList * fObservables
RooAbsData is the common abstract base class for binned and unbinned datasets.
void SetNuisanceParameters(const RooArgSet ¶ms)
Namespace for the RooStats classes.
unsigned int GetNumberOfToys() const
void PatchSetExtended(bool on=true)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void SetAlternateParameters(const RooArgSet &)
void PrintMore(const char *options) const
virtual void SetAlternatePdf(RooAbsPdf &pdf)
void SetTestStatistic(int index)
set the desired test statistics: index=1 : 2 * log( L_sb / L_b ) (DEFAULT) index=2 : number of genera...
virtual ~HybridCalculatorOriginal()
Destructor of HybridCalculator.