All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs
withParallelData.h File Reference

Interface to add auxiliary data from parallel collections to a proxy. More...

#include "lardata/RecoBaseProxy/ProxyBase/ParallelDataProxyMaker.h"
#include "lardata/RecoBaseProxy/ProxyBase/WithAssociatedStructBase.h"
#include "larcorealg/CoreUtils/ContainerMeta.h"
#include <tuple>
#include <utility>

Go to the source code of this file.

Namespaces

 proxy
 
 proxy::details
 

Typedefs

template<typename Aux , typename ArgTuple , typename AuxTag = Aux>
using proxy::details::WithParallelCollectionStruct = WithAssociatedStructBase< Aux, void, ArgTuple, ParallelDataProxyMakerWrapper< Aux, AuxTag >::template maker_t, AuxTag >
 
template<typename Aux , typename ArgTuple , typename AuxColl , typename AuxTag = Aux>
using proxy::details::WithWrappedParallelCollectionStruct = WithAssociatedStructBase< Aux, void, ArgTuple, ParallelDataProxyMakerWrapper< Aux, AuxTag, AuxColl >::template maker_t, AuxTag >
 

Functions

Parallel data collections

These functions allow to merge into a data collection proxy some auxiliary data from other collections fulfilling the parallel data product requirement.

Two categories of functions are available depending on the data source:

Also, variants are available to customize the tag class.

The implementation of this feature is documented in its own doxygen module.

template<typename Aux , typename AuxTag , typename... Args>
auto proxy::withParallelDataAs (Args &&...args)
 Helper function to merge an auxiliary data product into the proxy. More...
 
template<typename Aux , typename... Args>
auto proxy::withParallelData (Args &&...args)
 Helper function to merge an auxiliary data product into the proxy. More...
 
template<typename AuxTag , typename AuxColl >
auto proxy::wrapParallelDataAs (AuxColl const &auxColl)
 Uses a collection as auxiliary data for a collection proxy. More...
 
template<typename AuxColl >
auto proxy::wrapParallelData (AuxColl const &auxColl)
 Uses a collection as auxiliary data for a collection proxy. More...
 

Detailed Description

Interface to add auxiliary data from parallel collections to a proxy.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
July 27, 2017
See Also
lardata/RecoBaseProxy/ProxyBase.h

This library is header-only.

Definition in file withParallelData.h.