WeightStatistics

class coffea.analysis_tools.WeightStatistics(sumw=0.0, sumw2=0.0, minw=inf, maxw=-inf, n=0)[source]

Bases: AccumulatorABC

Methods Summary

add(other)

Add another accumulator to this one in-place

identity()

Identity of the accumulator

Methods Documentation

add(other)[source]

Add another accumulator to this one in-place

identity()[source]

Identity of the accumulator

A value such that any other value added to it will return the other value