LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
proxy::CollectionProxyMakerTraits< ChargedSpacePoints > Struct Template Reference

Traits of proxy::ChargedSpacePoints proxy. More...

#include "ChargedSpacePoints.h"

Inheritance diagram for proxy::CollectionProxyMakerTraits< ChargedSpacePoints >:
proxy::CollectionProxyMakerTraits< ChargedSpacePoints::SpacePointDataProduct_t >

Public Types

template<typename... Args>
using collection_proxy_impl_t = ChargedSpacePointsCollectionProxy< Args... >
 

Detailed Description

template<>
struct proxy::CollectionProxyMakerTraits< ChargedSpacePoints >

Traits of proxy::ChargedSpacePoints proxy.

The proxy::ChargedSpacePoints is special in that it uses a custom collection proxy, ChargedSpacePointsCollectionProxy, which in turns uses a custom collection proxy element, SpacePointWithCharge. The former allows to access all the charges and space points with meaningful methods (spacePoints() and charges()), and the latter allows the same when addressing the single element of the collection (position(), charge(), etc.).

The price for this candy is that those interfaces need to be written, and then the traits of the proxy needs to be specialized to register that customization.

Specifying collection_proxy_impl_t is the way to do that. The other traits are inherited from "default" values of an unflavoured proxy.

Definition at line 408 of file ChargedSpacePoints.h.

Member Typedef Documentation


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