LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
lar::example::details::PositionExtractorFromArray< Cont, Data > Struct Template Reference

Base for PositionExtractor on random-access containers. More...

#include "SpacePartition.h"

Static Public Member Functions

static Data x (Cont const &p)
 
static Data y (Cont const &p)
 
static Data z (Cont const &p)
 

Detailed Description

template<typename Cont, typename Data>
struct lar::example::details::PositionExtractorFromArray< Cont, Data >

Base for PositionExtractor on random-access containers.

Definition at line 296 of file SpacePartition.h.

Member Function Documentation

template<typename Cont, typename Data>
static Data lar::example::details::PositionExtractorFromArray< Cont, Data >::x ( Cont const &  p)
inlinestatic

Definition at line 297 of file SpacePartition.h.

297 { return p[0]; }
template<typename Cont, typename Data>
static Data lar::example::details::PositionExtractorFromArray< Cont, Data >::y ( Cont const &  p)
inlinestatic

Definition at line 298 of file SpacePartition.h.

298 { return p[1]; }
template<typename Cont, typename Data>
static Data lar::example::details::PositionExtractorFromArray< Cont, Data >::z ( Cont const &  p)
inlinestatic

Definition at line 299 of file SpacePartition.h.

299 { return p[2]; }

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