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;
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
HybridCalculatorOriginal class.
void SetNuisancePdf(RooAbsPdf &prior_pdf)
virtual void SetAlternatePdf(RooAbsPdf &pdf)
virtual void SetAlternateParameters(const RooArgSet &)
void PrintMore(const char *options) const
Print out some information about the input models.
virtual void SetAlternateModel(const ModelConfig &)
Set the model describing the alternate hypothesis.
virtual ~HybridCalculatorOriginal()
Destructor of HybridCalculator.
virtual void SetNullParameters(const RooArgSet &)
unsigned int GetNumberOfToys() const
virtual HybridResult * GetHypoTest() const
inherited methods from HypoTestCalculator interface
void PatchSetExtended(bool on=true)
void RunToys(std::vector< double > &bVals, std::vector< double > &sbVals, unsigned int nToys, bool usePriors) const
do the actual run-MC processing
virtual void SetNullModel(const ModelConfig &)
Set the model describing the null hypothesis.
unsigned int fTestStatisticsIdx
virtual void SetData(RooAbsData &data)
HybridCalculatorOriginal(const char *name=0)
Dummy Constructor with only name.
void UseNuisance(bool on=true)
virtual void SetCommonPdf(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...
const RooArgSet * fNuisanceParameters
void SetGenerateBinned(bool on=true)
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
bool DoCheckInputs() const
void SetNuisanceParameters(const RooArgSet ¶ms)
RooArgList * fObservables
void SetNumberOfToys(unsigned int ntoys)
Class encapsulating the result of the HybridCalculatorOriginal.
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
The TNamed class is the base class for all named ROOT classes.
Namespace for the RooStats classes.