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

template<int I, int NDIMS, class AXES>
struct ROOT::Experimental::Internal::RComputeLocalBins< I, NDIMS, AXES >

Recursively computes the number of regular bins before the current dimension, as well as the number of under- and overflow bins left to account for, after the current dimension.

If the latter is equal to 0, there is no need to process further. It is computing local bins that are in under- or overflow in at least one dimension. Starting at the highest dimension, it examines how many full hyperplanes of regular bins lie before, then projects on the remaining dimensions.

Definition at line 463 of file RHistImpl.hxx.

Public Member Functions

void operator() (const AXES &axes, int &unprocessed_previous_overflow_bin, int &num_regular_bins_before, std::array< int, NDIMS-1 > bins_per_hyperplane, std::array< int, NDIMS-1 > regular_bins_per_hyperplane, int curr_bins_per_hyperplane, int curr_regular_bins_per_hyperplane) const
 

#include <ROOT/RHistImpl.hxx>

Member Function Documentation

◆ operator()()

template<int I, int NDIMS, class AXES >
void ROOT::Experimental::Internal::RComputeLocalBins< I, NDIMS, AXES >::operator() ( const AXES &  axes,
int unprocessed_previous_overflow_bin,
int num_regular_bins_before,
std::array< int, NDIMS-1 >  bins_per_hyperplane,
std::array< int, NDIMS-1 >  regular_bins_per_hyperplane,
int  curr_bins_per_hyperplane,
int  curr_regular_bins_per_hyperplane 
) const
inline

Definition at line 464 of file RHistImpl.hxx.


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