20namespace TestStatistics {
41 :
RooAbsL(pdf, data, data->numEntries(), components.
size(), extended), components_(std::move(components))
94 for (std::size_t ix = components_begin; ix < components_end; ++ix) {
95 ret +=
components_[ix]->evaluatePartition(events, 0, 0);
106 if (
dynamic_cast<RooSubsidiaryL *
>((*component).get()) !=
nullptr) {
107 return (*component)->evaluatePartition({0, 1}, 0, 0);
115 for (
auto &component : components_) {
116 component->constOptimizeTestStatistic(opcode, doAlsoTrackingOpt);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
RooAbsData is the common abstract base class for binned and unbinned datasets.
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)
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).