Proxy class for charged space point proxy elements. More...
#include <ChargedSpacePoints.h>
Public Types | |
| using | base_t = CollectionProxyElement< CollProxy > |
| Base type. More... | |
Public Types inherited from proxy::CollectionProxyElement< CollProxy > | |
| using | collection_proxy_t = CollProxy |
| using | main_element_t = typename collection_proxy_t::main_element_t |
| using | aux_elements_t = typename details::SubstituteWithAuxList< typename collection_proxy_t::aux_collections_t >::type |
| Tuple of elements (expected to be tagged types). More... | |
Public Member Functions | |
| recob::PointCharge const & | chargeInfo () const |
Full data object access | |
| recob::SpacePoint const & | point () const |
| Returns the original space point. More... | |
Direct space point interface | |
| auto | ID () const |
| Returns the ID of the space point. More... | |
| geo::Point_t | position () const |
| Returns the position of the space point. More... | |
Direct charge interface | |
| recob::PointCharge::Charge_t | charge () const |
| bool | hasCharge () const |
Public Member Functions inherited from proxy::CollectionProxyElement< CollProxy > | |
| CollectionProxyElement (std::size_t index, main_element_t const &main, aux_elements_t &&auxData) | |
| main_element_t const * | operator-> () const |
| Returns a pointer to the main element. More... | |
| main_element_t const & | operator* () const |
| Returns a reference to the main element. More... | |
| std::size_t | index () const |
| Returns the index of this element in the collection. More... | |
| template<typename Tag > | |
| auto | get () const -> decltype(auto) |
Returns the auxiliary data specified by type (Tag). More... | |
| template<typename Tag , typename T = Tag const&> | |
| auto | getIf () const -> decltype(auto) |
Returns the auxiliary data specified by type (Tag). More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from proxy::CollectionProxyElement< CollProxy > | |
| template<typename Tag > | |
| static constexpr bool | has () |
Returns whether this class knowns about the specified type (Tag). More... | |
Proxy class for charged space point proxy elements.
| CollProxy | type of point proxy collection to get data from |
For details on the space point interface see proxy::ChargedSpacePoints.
Definition at line 244 of file ChargedSpacePoints.h.
| using proxy::SpacePointWithCharge< CollProxy >::base_t = CollectionProxyElement<CollProxy> |
Base type.
Definition at line 246 of file ChargedSpacePoints.h.
|
inline |
Returns the charge associated to this point
recob::PointCharge::charge() Definition at line 287 of file ChargedSpacePoints.h.
|
inline |
Returns the recob::PointCharge object with the complete charge information.
Definition at line 263 of file ChargedSpacePoints.h.
|
inline |
Returns whether the charge associated to the space point is valid.
recob::PointCharge::hasCharge() Definition at line 292 of file ChargedSpacePoints.h.
|
inline |
Returns the ID of the space point.
Definition at line 271 of file ChargedSpacePoints.h.
|
inline |
Returns the original space point.
Definition at line 256 of file ChargedSpacePoints.h.
|
inline |
Returns the position of the space point.
Definition at line 274 of file ChargedSpacePoints.h.
1.8.11