Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | List of all members
ROOT::Experimental::Internal::THistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG > Struct Template Reference

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

Generate THist::fImpl from THist constructor arguments.

Definition at line 208 of file THist.hxx.

Public Member Functions

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

#include <ROOT/THist.hxx>

Member Function Documentation

◆ MakeNextAxis()

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

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

Definition at line 213 of file THist.hxx.

◆ operator()()

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

Make a THistImpl-derived object reflecting the TAxisConfig array.

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

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

Definition at line 235 of file THist.hxx.


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