104 #ifndef LARDATA_RECOBASEPROXY_CHARGEDSPACEPOINTS_H 105 #define LARDATA_RECOBASEPROXY_CHARGEDSPACEPOINTS_H 243 template <
typename CollProxy>
247 using base_t::base_t;
264 {
return base_t::template get<ChargedSpacePoints::ChargeTag>(); }
271 auto ID()
const {
return point().ID(); }
288 {
return chargeInfo().charge(); }
292 bool hasCharge()
const {
return chargeInfo().hasCharge(); }
322 template <
typename MainColl,
typename... AuxColl>
328 using base_t::base_t;
339 return base_t::template get<ChargedSpacePoints::ChargeTag>().dataRef();
363 template <
typename Tag = proxy::ChargedSpacePo
ints::ChargeTag>
365 {
return proxy::withParallelDataAs<recob::PointCharge, Tag>(inputTag); }
393 template <
typename Event,
typename... Args>
397 return proxy::getCollection<ChargedSpacePoints>(
427 template <
typename... Args>
437 #endif // LARDATA_RECOBASEPROXY_CHARGEDSPACEPOINTS_H Utilities to extend the interface of geometry vectors.
Collection of data type definitions for collection proxies.
auto getChargedSpacePoints(Event const &event, art::InputTag inputTag, Args &&...withArgs)
Creates and returns a proxy to space points with associated charge.
auto withCharge(art::InputTag inputTag)
Adds additional recob::PointCharge information to the proxy.
Information about charge reconstructed in the active volume.
Base utilities for the implementation of data product facades.
Base representation of a collection of proxied objects.
GENVECTOR_CONSTEXPR::geo::Point_t makePointFromCoords(Coords &&coords)
Creates a geo::Point_t from its coordinates (see makeFromCoords()).
Proxy class for charged space point proxy elements.
std::vector< recob::SpacePoint > SpacePointDataProduct_t
Type of the main collection.
auto const & spacePoints() const
Returns the original collection of space points.
recob::SpacePoint const & point() const
Returns the original space point.
float Charge_t
Type for the amount of reconstructed charge.
auto ID() const
Returns the ID of the space point.
Proxy collection class for space points associated to charge.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
geo::Point_t position() const
Returns the position of the space point.
An element of a collection proxy.
Proxy tag for a recob::SpacePoint collection with charge.
recob::PointCharge::Charge_t charge() const
QuadExpr operator*(double v, const QuadExpr &e)
recob::PointCharge const & chargeInfo() const
auto const & charges() const
Returns the original collection of charge information.
Event finding and building.
Charge reconstructed in the active volume.