17#ifndef ROO_XY_CHI2_VAR
18#define ROO_XY_CHI2_VAR
82 double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize)
const override ;
#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.
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...
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.
RooDataSet is a container class to hold unbinned data.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooRealVar represents a 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.