LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
geo::part::details::RangeLowerBoundExtractor< Range > Struct Template Reference

Class extracting the lower bound of the specified range of an area. More...

#include "Partitions.h"

Inheritance diagram for geo::part::details::RangeLowerBoundExtractor< Range >:
geo::part::details::PartitionRangeLowerBoundExtractor< Range >

Public Types

using Area_t = AreaOwner::Area_t
 

Public Member Functions

double operator() (double lower) const
 
double operator() (Area_t::Range_t const &r) const
 
double operator() (Area_t const &area) const
 
double operator() (AreaOwner const &area) const
 
double operator() (AreaOwner const *ptr) const
 

Static Public Attributes

static constexpr auto range = Range
 

Detailed Description

template<AreaOwner::AreaRangeMember_t Range>
struct geo::part::details::RangeLowerBoundExtractor< Range >

Class extracting the lower bound of the specified range of an area.

Definition at line 686 of file Partitions.h.

Member Typedef Documentation

template<AreaOwner::AreaRangeMember_t Range>
using geo::part::details::RangeLowerBoundExtractor< Range >::Area_t = AreaOwner::Area_t

Definition at line 688 of file Partitions.h.

Member Function Documentation

template<AreaOwner::AreaRangeMember_t Range>
double geo::part::details::RangeLowerBoundExtractor< Range >::operator() ( double  lower) const
inline

Definition at line 690 of file Partitions.h.

690 { return lower; }
template<AreaOwner::AreaRangeMember_t Range>
double geo::part::details::RangeLowerBoundExtractor< Range >::operator() ( Area_t::Range_t const &  r) const
inline

Definition at line 691 of file Partitions.h.

References lar::util::simple_geo::Range< Data >::lower.

692  { return (*this)(r.lower); }
template<AreaOwner::AreaRangeMember_t Range>
double geo::part::details::RangeLowerBoundExtractor< Range >::operator() ( Area_t const &  area) const
inline

Definition at line 693 of file Partitions.h.

694  { return (*this)(area.*range); }
template<AreaOwner::AreaRangeMember_t Range>
double geo::part::details::RangeLowerBoundExtractor< Range >::operator() ( AreaOwner const &  area) const
inline

Definition at line 695 of file Partitions.h.

References geo::part::AreaOwner::area().

696  { return (*this)(area.area()); }
template<AreaOwner::AreaRangeMember_t Range>
double geo::part::details::RangeLowerBoundExtractor< Range >::operator() ( AreaOwner const *  ptr) const
inline

Definition at line 697 of file Partitions.h.

698  { return (*this)(*ptr); }

Member Data Documentation

template<AreaOwner::AreaRangeMember_t Range>
constexpr auto geo::part::details::RangeLowerBoundExtractor< Range >::range = Range
static

Definition at line 687 of file Partitions.h.


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