23#ifndef ROOFIT_BUILDS_ITSELF
25#warning "Including RooChi2Var.h is deprecated, and this header will be removed in ROOT v6.34: Please use RooAbsReal::createChi2() to create chi-square test statistics objects"
39#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 34, 00)
40#error "Please remove this deprecated public interface."
92#ifndef ROOFIT_BUILDS_ITSELF
93}
R__DEPRECATED(6,34,
"Please use RooAbsReal::createChi2() to create chi-square test statistics objects.");
#define R__DEPRECATED(MAJOR, MINOR, REASON)
#define ClassDefOverride(name, id)
Abstract base class for binned and unbinned datasets.
Abstract base class for test statistics objects that evaluate a function or PDF at each point of a gi...
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value and implements functionality common to al...
Abstract base class for all test statistics.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Simple calculation from a binned dataset and a PDF.
double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override
Calculate chi^2 in partition from firstEvent to lastEvent using given stepSize Throughout the calcula...
RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &pdf, RooAbsData &dhist, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg) override
RooChi2Var(const char *name, const char *title, RooAbsReal &func, RooDataHist &data, const RooArgSet &projDeps, FuncMode funcMode, RooAbsTestStatistic::Configuration const &cfg, RooDataHist::ErrorType etype)
RooDataHist::ErrorType _etype
Error type store in associated RooDataHist.
FuncMode _funcMode
Function, P.d.f. or extended p.d.f?
TObject * clone(const char *newname) const override
double defaultErrorLevel() const override
static RooArgSet _emptySet
Supports named argument constructor.
RooChi2Var(const char *name, const char *title, RooAbsReal &func, RooDataHist &data, bool extended, RooDataHist::ErrorType etype, RooAbsTestStatistic::Configuration const &cfg=RooAbsTestStatistic::Configuration{})
Container class to hold N-dimensional binned data.
Mother of all ROOT objects.