16#ifndef ROO_DATA_WEIGHTED_AVERAGE
17#define ROO_DATA_WEIGHTED_AVERAGE
48 double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize)
const override ;
54#ifndef __ROOFIT_SUPPRESS_ROODATAWEIGHTEDAVERAGE_DEPRECATION_WARNING
55}
R__DEPRECATED(6, 32,
"RooDataWeightedAverage is an implementation detail of RooFit that will be removed from the public user interface.");
#define R__DEPRECATED(MAJOR, MINOR, REASON)
#define ClassDefOverride(name, id)
Abstract base class for binned and unbinned datasets.
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.
Class RooDataWeightedAverage calculate a weighted average of a function or p.d.f given a dataset with...
double globalNormalization() const override
Return global normalization term by which raw (combined) test statistic should be defined to obtain f...
~RooDataWeightedAverage() override
Destructor.
bool _showProgress
Show progress indication during evaluation if true.
double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override
Calculate the data weighted average for events [firstEVent,lastEvent] with step size stepSize.
RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &real, RooAbsData &adata, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg) override
double _sumWeight
Global sum of weights needed for normalization.
TObject * clone(const char *newname) const override
Mother of all ROOT objects.