LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 640 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 642 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 644 of file Partitions.h.

644 { 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 645 of file Partitions.h.

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

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

Definition at line 646 of file Partitions.h.

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

Definition at line 647 of file Partitions.h.

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

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

Definition at line 648 of file Partitions.h.

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

Member Data Documentation

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

Definition at line 641 of file Partitions.h.


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