List of all members
proxy::ProxyAsAuxProxyMaker< Main, AuxProxy, CollProxy, Tag > Class Template Reference

Creates an auxiliary proxy wrapper for the specified proxy. More...

#include <ProxyAsAuxProxyMaker.h>

Inheritance diagram for proxy::ProxyAsAuxProxyMaker< Main, AuxProxy, CollProxy, Tag >:
proxy::ProxyAsAuxProxyMakerBase< Main, AuxProxy, Tag >

Additional Inherited Members

- Public Types inherited from proxy::ProxyAsAuxProxyMakerBase< Main, AuxProxy, Tag >
using data_tag = Tag
 Tag labelling the associated data we are going to produce. More...
 
using main_element_t = Main
 Type of the main datum. More...
 
using aux_proxy_t = AuxProxy
 Tag-type of the auxiliary proxy (not the type of the proxy!). More...
 
- Static Public Member Functions inherited from proxy::ProxyAsAuxProxyMakerBase< Main, AuxProxy, Tag >
static auto make (Event const &event, Handle &&, MainArgs const &, art::InputTag const &auxProxyTag, AuxArgs &&...args)
 Create a parallel data proxy collection using the specified tag. More...
 

Detailed Description

template<typename Main, typename AuxProxy, typename CollProxy, typename Tag = util::collection_value_t<AuxProxy>>
class proxy::ProxyAsAuxProxyMaker< Main, AuxProxy, CollProxy, Tag >

Creates an auxiliary proxy wrapper for the specified proxy.

Template Parameters
Maintype of main datum (element) to associate from ("left")
AuxProxytype of proxy collection to be associated
CollProxytype of proxy this associated data works for
Tagtag for the association proxy to be created
See also
withCollectionProxy()

This class is (indirectly) called when using proxy::withCollectionProxy() in getCollection(). Its task is to supervise the creation of the collection proxy that is used as auxiliary data for the main data type. The interface required by withCollectionProxy() includes:

This class can be specialized. The default implementation just uses getCollection() to create the auxiliary proxy, and merges it to the main collection proxy in a fashion similar to parallel data.

The template argument CollProxy is designed for specialization of auxiliary data in the context of a specific proxy type.

Definition at line 149 of file ProxyAsAuxProxyMaker.h.


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