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;
HybridCalculatorOriginal(const char *name=0)
Dummy Constructor with only name.
unsigned int GetNumberOfToys() 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)
void RunToys(std::vector< double > &bVals, std::vector< double > &sbVals, 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 void SetAlternateModel(const ModelConfig &)
virtual void SetNullModel(const ModelConfig &)
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
virtual HybridResult * GetHypoTest() const
inherited methods from HypoTestCalculator interface
virtual void SetData(RooAbsData &data)
bool DoCheckInputs() const
void SetGenerateBinned(bool on=true)
void UseNuisance(bool on=true)
HybridResult * Calculate(TH1 &data, unsigned int nToys, bool usePriors) const
RooArgList * fObservables
void SetNuisanceParameters(const RooArgSet ¶ms)
Namespace for the RooStats classes.
void PatchSetExtended(bool on=true)
void PrintMore(const char *options) const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void SetAlternateParameters(const RooArgSet &)
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.