Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RLocalBinsToVirtualBins< I, NDIMS, BINS, AXES > Struct Template Reference

template<int I, int NDIMS, typename BINS, class AXES>
struct ROOT::Experimental::Internal::RLocalBinsToVirtualBins< I, NDIMS, BINS, AXES >

Recursively converts local axis bins from the standard kUnderflowBin/kOverflowBin for under/overflow bin indexing convention, to a "virtual bin" convention where the underflow bin has index 0 and the overflow bin has index N+1 where N is the axis' number of regular bins.

For growable axes, subtract 1 from regular indices so that the indexing convention remains zero-based (this means that there will be no "holes" in global binning, which matters more than the choice of regular index base)

Definition at line 647 of file RHistImpl.hxx.

Public Member Functions

void operator() (BINS &virtualBins, const AXES &axes, const BINS &localBins) const
 

#include <ROOT/RHistImpl.hxx>

Member Function Documentation

◆ operator()()

template<int I, int NDIMS, typename BINS , class AXES >
void ROOT::Experimental::Internal::RLocalBinsToVirtualBins< I, NDIMS, BINS, AXES >::operator() ( BINS &  virtualBins,
const AXES &  axes,
const BINS &  localBins 
) const
inline

Definition at line 648 of file RHistImpl.hxx.


The documentation for this struct was generated from the following file: