![]() |
ROOT 6.16/01 Reference Guide |
Const view on a bin's statistical data.
Combines all STATs' BinStat_t views.
Definition at line 354 of file RHistData.hxx.
Public Member Functions | |
RHistBinStat (DATA &data, int index) | |
template<bool B = true, class = typename std::enable_if<B && HasBinUncertainty()>::type> | |
double | GetUncertainty () const |
Calculate the bin content's uncertainty for the given bin, using base class information, i.e. More... | |
template<bool B = true, class = typename std::enable_if<B && !HasBinUncertainty()>::type> | |
double | GetUncertainty (...) const |
Calculate the bin content's uncertainty for the given bin, using Poisson statistics on the absolute bin content. More... | |
Static Public Member Functions | |
static constexpr bool | HasBinUncertainty () |
Whether this provides storage for uncertainties, or whether uncertainties are determined as poisson uncertainty of the content. More... | |
Static Private Member Functions | |
template<class T > | |
static char | HaveUncertainty (...) |
Fall-back case for check whether double T::GetBinUncertaintyImpl(int) can be called. More... | |
template<class T > | |
static auto | HaveUncertainty (const T *This) -> decltype(This->GetUncertaintyImpl()) |
Check whether double T::GetBinUncertaintyImpl(int) can be called. More... | |
#include <ROOT/RHistData.hxx>
|
inline |
Definition at line 364 of file RHistData.hxx.
|
inline |
Calculate the bin content's uncertainty for the given bin, using base class information, i.e.
forwarding to a base's GetUncertaintyImpl()
.
Definition at line 377 of file RHistData.hxx.
|
inline |
Calculate the bin content's uncertainty for the given bin, using Poisson statistics on the absolute bin content.
Only available if no base provides this functionality. Requires GetContent().
Definition at line 385 of file RHistData.hxx.
|
inlinestaticconstexpr |
Whether this provides storage for uncertainties, or whether uncertainties are determined as poisson uncertainty of the content.
Definition at line 368 of file RHistData.hxx.
|
staticprivate |
Fall-back case for check whether double T::GetBinUncertaintyImpl(int)
can be called.
|
staticprivate |
Check whether double T::GetBinUncertaintyImpl(int)
can be called.