16 #ifndef ROOSTATS_HybridCalculatorOriginal 17 #define ROOSTATS_HybridCalculatorOriginal 48 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
56 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
63 bool GenerateBinned =
false,
int testStatistics = 1,
int ntoys = 1000 );
130 void PrintMore(
const char* options)
const;
136 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
first compute the test statistics for data and then prepare and run the toy-MC experiments ...
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 &)
Set the model describing the alternate hypothesis.
virtual void SetNullModel(const ModelConfig &)
Set the model describing the null hypothesis.
void RunToys(std::vector< double > &bVals, std::vector< double > &sbVals, unsigned int nToys, bool usePriors) const
do the actual run-MC processing
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 &)
Class encapsulating the result of the HybridCalculatorOriginal.
void PrintMore(const char *options) const
Print out some information about the input models.
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.