16#ifndef ROOT7_RHistView 
   17#define ROOT7_RHistView 
   22namespace Experimental {
 
   40template <
class HISTVIEW>
 
   50template <
int DIMENSIONS, 
class PRECISION, 
template <
int D_, 
class P_> 
class... STAT>
 
   64      return idx < 0 || idx > 
fNBins;
 
   67   void SetRange(
int axis, 
double from, 
double to)
 
   77      size_t nbins = 
fHist.GetNBins();
 
Iterates over the bins of a RHist or RHistImpl.
 
int GetNBins() const noexcept final
Get the number of bins in this histogram, including possible under- and overflow bins.
 
virtual RAxisView GetAxis(int iAxis) const =0
Get a RAxisView on axis with index iAxis.
 
Common view on a RAxis, no matter what its kind.
 
int FindBin(double x) const noexcept
Find the bin containing coordinate x. Forwards to the underlying axis.
 
A view on a histogram, selecting a range on a subset of dimensions.
 
typename Hist_t::AxisIterRange_t AxisRange_t
 
const_iterator begin() const noexcept
 
RHistView(Hist_t &hist, int nbins, const AxisRange_t &range)
 
bool IsBinOutOfRange(int idx) const noexcept
 
const_iterator end() const noexcept
 
RHistViewOutOfRange< RHistView > HistViewOutOfRange_t
 
Detail::RHistBinIter< typename Hist_t::ImplBase_t > const_iterator
 
void SetRange(int axis, double from, double to)
 
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
 
ImplBase_t * GetImpl() const noexcept
Access the ImplBase_t this RHist points to.
 
std::array< AxisIter_t< NDIM >, 2 > AxisIterRange_t
Range over n dimensional axes - a pair of arrays of n axis iterators.