yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
YODA::defaultAdapter< DbnN, BinT< N, Dbn< DbnN >, BinningT > > Struct Template Reference

Default fill adapter for binned type Dbn<N> More...

#include <FillableStorage.h>

Public Types

using FillCoords = decltype(std::tuple_cat(std::declval< typename BinningT::EdgeTypesTuple >(), dblPadding(std::make_index_sequence< DbnN-BinningT::Dimension::value >{})))
 
using AdapterT = std::function< void(BinT< N, Dbn< DbnN >, BinningT > &, FillCoords &&, double, double)>
 

Detailed Description

template<size_t DbnN, template< size_t, typename, typename > class BinT, typename BinningT, size_t N>
struct YODA::defaultAdapter< DbnN, BinT< N, Dbn< DbnN >, BinningT > >

Default fill adapter for binned type Dbn<N>

Note
When non fundamental type is used, template parameter differ.

Definition at line 46 of file FillableStorage.h.

Member Typedef Documentation

◆ AdapterT

template<size_t DbnN, template< size_t, typename, typename > class BinT, typename BinningT , size_t N>
using YODA::defaultAdapter< DbnN, BinT< N, Dbn< DbnN >, BinningT > >::AdapterT = std::function<void(BinT<N, Dbn<DbnN>, BinningT>&, FillCoords&&, double, double)>

Definition at line 55 of file FillableStorage.h.

◆ FillCoords

template<size_t DbnN, template< size_t, typename, typename > class BinT, typename BinningT , size_t N>
using YODA::defaultAdapter< DbnN, BinT< N, Dbn< DbnN >, BinningT > >::FillCoords = decltype(std::tuple_cat(std::declval<typename BinningT::EdgeTypesTuple>(), dblPadding(std::make_index_sequence<DbnN-BinningT::Dimension::value>{})))

The fill coordinates are a tuple of -) the bin edge types (in case of histograms) -) the bin edge types and additional doubles (in case of profiles)

Definition at line 52 of file FillableStorage.h.


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