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

Interface to add optional associated data to a collection 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 Metadata , typename ArgTuple , typename AuxTag = Aux>
using proxy::details::WithOneTo01AssociatedStruct = WithAssociatedStructBase< Aux, Metadata, ArgTuple, OneTo01DataProxyMakerWrapper< Aux, Metadata, AuxTag >::template maker_t, AuxTag >
 

Functions

One-to-one (optional) associations

These functions allow to merge into a data collection proxy some auxiliary data via an art association fulfilling the one-to-(zero-or-one) sequential association requirement.

One category of functions is currently available:

Variants of proxy::withZeroOrOne() called proxy::withZeroOrOneMeta() will allow merging the metadata of an association too. This feature is not supported yet, though.

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 Metadata , typename AuxTag , typename... Args>
auto proxy::withZeroOrOneMetaAs (Args &&...args)
 
template<typename Aux , typename AuxTag , typename... Args>
auto proxy::withZeroOrOneAs (Args &&...args)
 
template<typename Aux , typename Metadata , typename... Args>
auto proxy::withZeroOrOneMeta (Args &&...args)
 Helper function to merge one-to-(zero-or-one) associated data. More...
 
template<typename Aux , typename... Args>
auto proxy::withZeroOrOne (Args &&...args)
 

Detailed Description

Interface to add optional associated data to a collection 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 withZeroOrOne.h.