13#ifndef ROOT_ROOFIT_TESTSTATISTICS_RooSumL
14#define ROOT_ROOFIT_TESTSTATISTICS_RooSumL
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.
RooAbsL(std::shared_ptr< RooAbsPdf > pdf, std::shared_ptr< RooAbsData > data, std::size_t N_events, std::size_t N_components, Extended extended)
After handling cloning (or not) of the pdf and dataset, the public constructors call this private con...
std::vector< std::unique_ptr< RooAbsL > > components_
void constOptimizeTestStatistic(RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt) override
Interface function signaling a request to perform constant term optimization.
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
const std::vector< std::unique_ptr< RooAbsL > > & GetComponents() const
ROOT::Math::KahanSum< double > getSubsidiaryValue()
Namespace for new RooFit test statistic calculation.
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).