Static Public Member Functions | List of all members
lar::example::PositionExtractor< recob::SpacePoint > Struct Template Reference

Specialization of PositionExtractor for recob::SpacePoint. More...

#include <SpacePointIsolationAlg.h>

Static Public Member Functions

static double x (recob::SpacePoint const &p)
 Return x coordinate of the space point position. More...
 
static double y (recob::SpacePoint const &p)
 Return y coordinate of the space point position. More...
 
static double z (recob::SpacePoint const &p)
 Return z coordinate of the space point position. More...
 

Detailed Description

template<>
struct lar::example::PositionExtractor< recob::SpacePoint >

Specialization of PositionExtractor for recob::SpacePoint.

This class extracts coordinates from recob::SpacePoint::XYZ() method.

Definition at line 236 of file SpacePointIsolationAlg.h.

Member Function Documentation

static double lar::example::PositionExtractor< recob::SpacePoint >::x ( recob::SpacePoint const &  p)
inlinestatic

Return x coordinate of the space point position.

Definition at line 239 of file SpacePointIsolationAlg.h.

239 { return p.XYZ()[0]; }
p
Definition: test.py:223
static double lar::example::PositionExtractor< recob::SpacePoint >::y ( recob::SpacePoint const &  p)
inlinestatic

Return y coordinate of the space point position.

Definition at line 242 of file SpacePointIsolationAlg.h.

242 { return p.XYZ()[1]; }
p
Definition: test.py:223
static double lar::example::PositionExtractor< recob::SpacePoint >::z ( recob::SpacePoint const &  p)
inlinestatic

Return z coordinate of the space point position.

Definition at line 245 of file SpacePointIsolationAlg.h.

245 { return p.XYZ()[2]; }
p
Definition: test.py:223

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