5#ifndef ROOT_RBinWithError
6#define ROOT_RBinWithError
14namespace Experimental {
26 explicit operator float()
const {
return fSum; }
60 fSum2 *= factor * factor;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
std::enable_if_t< std::is_arithmetic_v< T >, bool > AtomicCompareExchangeAcquire(T *ptr, T *expected, T *desired)
std::enable_if_t< std::is_arithmetic_v< T > > AtomicLoadAcquire(const T *ptr, T *ret)
std::enable_if_t< std::is_arithmetic_v< T > > AtomicStoreRelease(T *ptr, T *val)
std::enable_if_t< std::is_arithmetic_v< T > > AtomicLoad(const T *ptr, T *ret)
A special bin content type to compute the bin error in weighted filling.
RBinWithError & operator+=(double w)
RBinWithError operator++(int)
RBinWithError & operator+=(const RBinWithError &rhs)
void AtomicLoad(RBinWithError *ret) const
RBinWithError & operator++()
RBinWithError & operator*=(double factor)
void AtomicAdd(double a, double a2)
void AtomicAdd(const RBinWithError &rhs)
Add another bin content using atomic instructions.
void AtomicAddRelease(double w)
static uint64_t sum(uint64_t i)