Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RComputeGlobalBin< I, NDIMS, BINS, AXES > Struct Template Reference

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

Recursively gets the total number of regular bins before the current dimension, when computing a global bin that is in under- or overflow in at least one dimension.

That global bin's local per-axis bin indices are passed through the localBins parameter. These localBins were translated to 0-based bins, which is more convenient for some operations and which are the virtualBins parameter. Each call gets the current axis' number of regular bins before the global_bin in the current dimension multiplied by the number of regular bins before the current axis. If the global_bin is in under- or overflow in the current dimension (local bin), there is no need to process further.

Definition at line 396 of file RHistImpl.hxx.

Public Member Functions

int operator() (int total_regular_bins_before, const AXES &axes, const BINS &virtualBins, const BINS &binSizes, const BINS &localBins) const
 

#include <ROOT/RHistImpl.hxx>

Member Function Documentation

◆ operator()()

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

Definition at line 397 of file RHistImpl.hxx.


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