Creates an auxiliary proxy wrapper for the specified proxy. More...
#include <ProxyAsAuxProxyMaker.h>
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... | |
Creates an auxiliary proxy wrapper for the specified proxy.
| Main | type of main datum (element) to associate from ("left") |
| AuxProxy | type of proxy collection to be associated |
| CollProxy | type of proxy this associated data works for |
| Tag | tag for the association proxy to be created |
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:
make() method creating and returning the auxiliary data proxy with arguments an event, the main data product handle, a template argument representing the main collection information, and all the arguments required for the creation of the auxiliary collection proxy (coming from withCollectionProxy()); equivalent to the signature: 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.
1.8.5