Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RHistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG > Struct Template Reference

template<int NDIM, int IDIM, class DATA, class... PROCESSEDAXISCONFIG>
struct ROOT::Experimental::Internal::RHistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG >

Generate RHist::fImpl from RHist constructor arguments.

Definition at line 200 of file RHist.hxx.

Public Member Functions

template<RAxisConfig::EKind KIND>
std::unique_ptr< Detail::RHistImplBase< DATA > > MakeNextAxis (std::string_view title, const std::array< RAxisConfig, NDIM > &axes, PROCESSEDAXISCONFIG... processedAxisArgs)
 Select the template argument for the next axis type, and "recurse" into RHistImplGen for the next axis. More...
 
std::unique_ptr< Detail::RHistImplBase< DATA > > operator() (std::string_view title, const std::array< RAxisConfig, NDIM > &axes, PROCESSEDAXISCONFIG... processedAxisArgs)
 Make a RHistImpl-derived object reflecting the RAxisConfig array. More...
 

#include <ROOT/RHist.hxx>

Member Function Documentation

◆ MakeNextAxis()

template<int NDIM, int IDIM, class DATA , class... PROCESSEDAXISCONFIG>
template<RAxisConfig::EKind KIND>
std::unique_ptr< Detail::RHistImplBase< DATA > > ROOT::Experimental::Internal::RHistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG >::MakeNextAxis ( std::string_view  title,
const std::array< RAxisConfig, NDIM > &  axes,
PROCESSEDAXISCONFIG...  processedAxisArgs 
)
inline

Select the template argument for the next axis type, and "recurse" into RHistImplGen for the next axis.

Definition at line 205 of file RHist.hxx.

◆ operator()()

template<int NDIM, int IDIM, class DATA , class... PROCESSEDAXISCONFIG>
std::unique_ptr< Detail::RHistImplBase< DATA > > ROOT::Experimental::Internal::RHistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG >::operator() ( std::string_view  title,
const std::array< RAxisConfig, NDIM > &  axes,
PROCESSEDAXISCONFIG...  processedAxisArgs 
)
inline

Make a RHistImpl-derived object reflecting the RAxisConfig array.

Delegate to the appropriate MakeNextAxis instantiation, depending on the axis type selected in the RAxisConfig.

Parameters
axes- RAxisConfig objects describing the axis of the resulting RHistImpl.
statConfig- the statConfig parameter to be passed to the RHistImpl
processedAxisArgs- the RAxisBase-derived axis objects describing the axes of the resulting RHistImpl. There are IDIM of those; in the end (IDIM == GetNDim()), all axes have been converted to processedAxisArgs and the RHistImpl constructor can be invoked, passing the processedAxisArgs.

Definition at line 226 of file RHist.hxx.


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