16#ifdef ROOFIT_MULTIPROCESS
24namespace TestStatistics {
45 :
RooAbsL(pdf,
data,
data->numEntries(), components.
size(), extended), components_(std::move(components))
98 for (std::size_t ix = components_begin; ix < components_end; ++ix) {
99#ifdef ROOFIT_MULTIPROCESS
102 ret +=
components_[ix]->evaluatePartition(events, 0, 0);
103#ifdef ROOFIT_MULTIPROCESS
116 if (
dynamic_cast<RooSubsidiaryL *
>((*component).get()) !=
nullptr) {
117 return (*component)->evaluatePartition({0, 1}, 0, 0);
125 for (
auto &component : components_) {
126 component->constOptimizeTestStatistic(opcode, doAlsoTrackingOpt);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
Abstract base class for binned and unbinned datasets.
Abstract interface for all probability density functions.
static bool getTimingAnalysis()
static void start_timer(std::string section_name)
static void end_timer(std::string section_name)
virtual std::string GetName() const
std::vector< std::unique_ptr< RooAbsL > > components_
ROOT::Math::KahanSum< double > evaluatePartition(Section events, std::size_t components_begin, std::size_t components_end) override
RooSumL(RooAbsPdf *pdf, RooAbsData *data, std::vector< std::unique_ptr< RooAbsL > > components, RooAbsL::Extended extended=RooAbsL::Extended::Auto)
std::string GetClassName() const override
ROOT::Math::KahanSum< double > getSubsidiaryValue()
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
A part of some range delimited by two fractional points between 0 and 1 (inclusive).