Class to assemble the required proxy. More...
#include <CollectionProxyMaker.h>
Additional Inherited Members | |
Public Types inherited from proxy::CollectionProxyMakerBase< CollProxy > | |
using | traits_t = CollectionProxyMakerTraits< CollProxy > |
Traits of the collection proxy for the collection proxy maker. More... | |
using | main_collection_proxy_t = typename traits_t::main_collection_proxy_t |
Type of main collection proxy. More... | |
using | main_element_t = typename traits_t::main_element_t |
Type returned by the main collection indexing operator. More... | |
using | main_collection_t = typename traits_t::main_collection_t |
Type of element of the main collection. More... | |
Static Public Member Functions inherited from proxy::CollectionProxyMakerBase< CollProxy > | |
template<typename Event , typename... WithArgs> | |
static auto | make (Event const &event, art::InputTag const &tag, WithArgs &&...withArgs) |
Creates and returns a collection proxy based on CollProxy and with the requested associated data. More... | |
Class to assemble the required proxy.
CollProxy | a type characterizing the produced proxy |
This class is used by getCollection()
to create the requested proxy. The required interface for this class is:
make()
: a static method returning the collection proxy, matching the signature where the first argument will be the event to read the information from.A default implementation is provided as proxy::CollectionProxyMakerBase
. Specializations of proxy::CollectionProxyMaker
may choose to derive from proxy::CollectionProxyMakerBase
as well, for convenience.
Definition at line 144 of file CollectionProxyMaker.h.