ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
ROOT::Internal::HistImplGen_t< DIMENSIONS, IDIM, PRECISION, STATISTICS, PROCESSEDAXISCONFIG > Struct Template Reference

template<int DIMENSIONS, int IDIM, class PRECISION, class STATISTICS, class... PROCESSEDAXISCONFIG>
struct ROOT::Internal::HistImplGen_t< DIMENSIONS, IDIM, PRECISION, STATISTICS, PROCESSEDAXISCONFIG >

Generate THist::fImpl from THist constructor arguments.

Definition at line 232 of file THist.h.

Public Member Functions

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

#include <ROOT/THist.h>

Member Function Documentation

template<int DIMENSIONS, int IDIM, class PRECISION , class STATISTICS , class... PROCESSEDAXISCONFIG>
template<TAxisConfig::EKind KIND>
std::unique_ptr<Detail::THistImplBase<DIMENSIONS, PRECISION> > ROOT::Internal::HistImplGen_t< DIMENSIONS, IDIM, PRECISION, STATISTICS, PROCESSEDAXISCONFIG >::MakeNextAxis ( const std::array< TAxisConfig, DIMENSIONS > &  axes,
const STATISTICS &  statConfig,
PROCESSEDAXISCONFIG...  processedAxisArgs 
)
inline

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

Definition at line 237 of file THist.h.

template<int DIMENSIONS, int IDIM, class PRECISION , class STATISTICS , class... PROCESSEDAXISCONFIG>
std::unique_ptr<Detail::THistImplBase<DIMENSIONS, PRECISION> > ROOT::Internal::HistImplGen_t< DIMENSIONS, IDIM, PRECISION, STATISTICS, PROCESSEDAXISCONFIG >::operator() ( const std::array< TAxisConfig, DIMENSIONS > &  axes,
const STATISTICS &  statConfig,
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 == DIMENSIONS), all axes have been converted to processedAxisArgs and the THistImpl constructor can be invoked, passing the processedAxisArgs.

Definition at line 260 of file THist.h.


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