|
| RHist ()=default |
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 1>::type> |
| RHist (const RAxisConfig &xaxis) |
| Constructor overload that's only available for a 1-dimensional histogram. More...
|
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 2>::type> |
| RHist (const RAxisConfig &xaxis, const RAxisConfig &yaxis) |
| Constructor overload that's only available for a 2-dimensional histogram. More...
|
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 3>::type> |
| RHist (const RAxisConfig &xaxis, const RAxisConfig &yaxis, const RAxisConfig &zaxis) |
| Constructor overload that's only available for a 3-dimensional histogram. More...
|
|
| RHist (const RHist &other) |
|
| RHist (RHist &&)=default |
|
| RHist (std::array< RAxisConfig, DIMENSIONS > axes) |
| Create a histogram from an array of axes (RAxisConfig s). More...
|
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 1>::type> |
| RHist (std::string_view histTitle, const RAxisConfig &xaxis) |
| Constructor overload that's only available for a 1-dimensional histogram, also passing the histogram title. More...
|
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 2>::type> |
| RHist (std::string_view histTitle, const RAxisConfig &xaxis, const RAxisConfig &yaxis) |
| Constructor overload that's only available for a 2-dimensional histogram, also passing the histogram title. More...
|
|
template<int ENABLEIF_NDIM = DIMENSIONS, class = typename std::enable_if<ENABLEIF_NDIM == 3>::type> |
| RHist (std::string_view histTitle, const RAxisConfig &xaxis, const RAxisConfig &yaxis, const RAxisConfig &zaxis) |
| Constructor overload that's only available for a 3-dimensional histogram, also passing the histogram title. More...
|
|
| RHist (std::string_view histTitle, std::array< RAxisConfig, DIMENSIONS > axes) |
| Constructor overload taking the histogram title. More...
|
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
void | Fill (const CoordArray_t &x, Weight_t weight=(Weight_t) 1) noexcept |
| Add weight to the bin containing coordinate x . More...
|
|
void | FillN (const std::span< CoordArray_t > xN) noexcept |
| Convenience overload: FillN() with weight 1. More...
|
|
void | FillN (const std::span< CoordArray_t > xN, const std::span< Weight_t > weightN) noexcept |
| For each coordinate in xN , add weightN[i] to the bin at coordinate xN[i] . More...
|
|
Weight_t | GetBinContent (const CoordArray_t &x) const |
| Get the content of the bin at x . More...
|
|
double | GetBinUncertainty (const CoordArray_t &x) const |
| Get the uncertainty on the content of the bin at x . More...
|
|
int64_t | GetEntries () const noexcept |
| Get the number of entries this histogram was filled with. More...
|
|
ImplBase_t * | GetImpl () const noexcept |
| Access the ImplBase_t this RHist points to. More...
|
|
void | swap (RHist< DIMENSIONS, PRECISION, STAT... > &other) noexcept |
| Swap *this and other. More...
|
|
std::unique_ptr< ImplBase_t > && | TakeImpl () noexcept |
| "Steal" the ImplBase_t this RHist points to. More...
|
|