39 const RooArgSet& projDeps,
bool extended =
false,
59 bool weightSq, std::size_t stepSize, std::size_t firstEvent,
60 std::size_t lastEvent,
RooAbsPdf const* offsetPdf =
nullptr);
67 double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize)
const override;
80 mutable std::vector<double>
_binw ;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
Abstract base class for binned and unbinned datasets.
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...
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.
Named container for two doubles, two integers two object points and three string pointers that can be...
Class RooNLLVar implements a -log(likelihood) calculation from a dataset and a PDF.
ComputeResult computeScalar(std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent) const
bool processEmptyDataSets() const override
std::unique_ptr< RooAbsPdf > _offsetPdf
! An optional per-bin likelihood offset
static RooNLLVar::ComputeResult computeScalarFunc(const RooAbsPdf *pdfClone, RooAbsData *dataClone, RooArgSet *normSet, bool weightSq, std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent, RooAbsPdf const *offsetPdf=nullptr)
ROOT::Math::KahanSum< double > _offsetSaveW2
!
static RooArgSet _emptySet
void applyWeightSquared(bool flag) override
Disables or enables the usage of squared weights.
std::vector< double > _binw
!
std::pair< ROOT::Math::KahanSum< double >, double > ComputeResult
TObject * clone(const char *newname) const override
bool setDataSlave(RooAbsData &data, bool cloneData=true, bool ownNewDataAnyway=false) override
Change dataset that is used to given one.
RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &pdf, RooAbsData &adata, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg) override
Create a test statistic using several properties of the current instance.
void enableBinOffsetting(bool on=true)
double defaultErrorLevel() const override
bool _weightSq
Apply weights squared?
double evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override
Calculate and return likelihood on subset of data.
Mother of all ROOT objects.