11#ifndef ROOSTATS_HypoTestInverterOriginal
12#define ROOSTATS_HypoTestInverterOriginal
44 bool RunAutoScan(
double xMin,
double xMax,
double target,
double epsilon=0.005,
unsigned int numAlgorithm=0 );
46 bool RunFixedScan(
int nBins,
double xMin,
double xMax );
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooRealVar represents a variable that can be changed from the outside.
HypoTestCalculator is an interface class for a tools which produce RooStats HypoTestResults.
This class is now deprecated and to be replaced by the HypoTestInverter.
RooRealVar * fScannedVariable
virtual void SetModel(const ModelConfig &)
Set the Model.
virtual void SetTestSize(Double_t size)
set the size of the test (rate of Type I error) ( e.g. 0.05 for a 95% Confidence Interval)
bool RunFixedScan(int nBins, double xMin, double xMax)
HypoTestInverterResult * fResults
void UseCLs(bool on=true)
HypoTestInverterOriginal()
bool RunAutoScan(double xMin, double xMax, double target, double epsilon=0.005, unsigned int numAlgorithm=0)
virtual HypoTestInverterResult * GetInterval() const
Main interface to get a ConfInterval, pure virtual.
virtual ~HypoTestInverterOriginal()
virtual void SetData(RooAbsData &)
Set the DataSet ( add to the the workspace if not already there ?)
HypoTestCalculator * fCalculator0
virtual Double_t ConfidenceLevel() const
Get the Confidence level for the test.
virtual void SetConfidenceLevel(Double_t cl)
set the confidence level for the interval (e.g. 0.95 for a 95% Confidence Interval)
bool RunOnePoint(double thisX)
run only one point
virtual Double_t Size() const
Get the size of the test (eg. rate of Type I error)
HypoTestInverterResult class holds the array of hypothesis test results and compute a confidence inte...
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)
virtual void SetConfidenceLevel(Double_t cl)
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
void UseCLs(bool on=true)
flag to switch between using CLsb (default) or CLs as confidence level
IntervalCalculator is an interface class for a tools which produce RooStats ConfIntervals.
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.