LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
withParallelData.h File Reference

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

Go to the source code of this file.

Namespaces

 proxy
 Encloses LArSoft data product proxy objects and utilities.See this doxygen module for an introduction to data proxies in LArSoft.
 
 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.