15#ifndef ROOT7_RHistUtils
16#define ROOT7_RHistUtils
22namespace Experimental {
30template <
int DIMENSIONS>
32 using Base_t = std::array<double, DIMENSIONS>;
38 template<
class...ELEMENTS,
class =
typename std::enable_if<
sizeof...(ELEMENTS) + 1 == DIMENSIONS>
::type>
43 template<
class T,
class...ELEMENTS,
class =
typename std::enable_if<
sizeof...(ELEMENTS) + 1 != DIMENSIONS>
::type>
45 static_assert(
sizeof...(ELEMENTS) + 1 == DIMENSIONS,
"Number of coordinates does not match DIMENSIONS");
56template <
int DIMENSIONS>
RLogChannel & HistLog()
Log channel for Hist diagnostics.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
RCoordArray(double x, ELEMENTS...el)
Construction with one double per DIMENSION.
RCoordArray(T, ELEMENTS...)
Fallback constructor, invoked if the one above fails because of the wrong number of arguments / coord...
RCoordArray(const std::array< double, DIMENSIONS > &arr)
Copy-construction from a C++-style array.
std::array< double, DIMENSIONS > Base_t
RCoordArray(double(&arr)[DIMENSIONS])
Construction from a C-style array.
RCoordArray()=default
Default construction.