15 #ifndef ROOT7_THistView
16 #define ROOT7_THistView
21 namespace Experimental {
39 template <
class HISTVIEW>
50 template <
int D_,
class P_,
template <
class P__>
class S_>
class... STAT>
64 return idx < 0 || idx >
fNBins;
67 void SetRange(
int axis,
double from,
double to) {
void SetRange(int axis, double from, double to)
typename Hist_t::AxisIterRange_t AxisRange_t
Iterates over the bins of a THist or THistImpl.
int FindBin(double x) const noexcept
Find the bin containing coordinate x. Forwards to the underlying axis.
Common view on a TAxis, no matter what its kind.
A view on a histogram, selecting a range on a subset of dimensions.
const_iterator begin() const noexcept
const_iterator end() const noexcept
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value ...
Detail::THistBinIter< typename Hist_t::ImplBase_t > const_iterator
THistViewOutOfRange< THistView > HistViewOutOfRange_t
std::array< AxisIter_t< NDIM >, 2 > AxisIterRange_t
Range over n dimensional axes - a pair of arrays of n axis iterators.
THistView(Hist_t &hist, int nbins, const AxisRange_t &range)
bool IsBinOutOfRange(int idx) const noexcept