17#ifndef ROO_XY_CHI2_VAR
18#define ROO_XY_CHI2_VAR
23#ifndef ROOFIT_BUILDS_ITSELF
25#warning "Including RooXYChi2Var.h is deprecated, and this header will be removed in ROOT v6.34: please use RooAbsReal::createChi2(RooAbsData &, ...) to create chi-square test statistics objects on X-Y data"
39#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 34, 00)
40#error "Please remove this deprecated public interface."
106 double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize)
const override ;
114#ifndef ROOFIT_BUILDS_ITSELF
115}
R__DEPRECATED(6,34,
"Please use RooAbsReal::createChi2(RooAbsData &, ...) to create chi-square test statistics objects on X-Y data");
#define R__DEPRECATED(MAJOR, MINOR, REASON)
#define ClassDefOverride(name, id)
Abstract base class for binned and unbinned datasets.
Abstract interface for integrators of real-valued functions that implement the RooAbsFunc interface.
Abstract base class for test statistics objects that evaluate a function or PDF at each point of a gi...
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.
Container class to hold unbinned data.
Holds the configuration parameters of the various numeric integrators used by RooRealIntegral.
Variable that can be changed from the outside.
RooXYChi2Var implements a simple chi^2 calculation from an unbinned dataset with values x,...
RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &pdf, RooAbsData &adata, const RooArgSet &, RooAbsTestStatistic::Configuration const &) override
double fy() const
Return function value requested bu present configuration.
std::unique_ptr< RooAbsReal > _funcInt
! Function integral
std::list< RooAbsBinning * > _binList
! Bin ranges
bool _extended
Is the input function and extended p.d.f.
void initIntegrator()
Initialize bin content integrator.
RooRealVar * _yvar
Y variable if so designated.
RooArgSet requiredExtraObservables() const override
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.
double defaultErrorLevel() const override
bool _integrate
Is integration over the bin volume requested.
RooArgSet _rrvArgs
Set of real-valued observables.
double xErrorContribution(double ydata) const
Calculate contribution to internal error due to error on 'x' coordinates at point i.
const RooNumIntConfig & binIntegratorConfig() const
void initialize()
Common constructor initialization.
RooNumIntConfig _intConfig
Numeric integrator configuration for integration of function over bin.
bool allowFunctionCache() override
TObject * clone(const char *newname) const override
RooNumIntConfig & binIntegratorConfig()
Mother of all ROOT objects.