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

#include "Partitions.h"

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

Public Types

using Base_t = RangeLowerBoundExtractor< Range >
 
using Area_t = typename Base_t::Area_t
 
using Partition_t = PartitionBase
 Base type of the partition. More...
 

Public Member Functions

auto operator() (Partition_t const &part)
 
template<typename PartPtr , typename = std::enable_if_t<details::is_partition_ptr<PartPtr>::value>>
auto operator() (PartPtr const &part)
 
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<PartitionBase::AreaRangeMember_t Range>
struct geo::part::details::PartitionRangeLowerBoundExtractor< Range >

Class extracting the lower bound of the specified range of a partition area.

Definition at line 707 of file Partitions.h.

Member Typedef Documentation

template<PartitionBase::AreaRangeMember_t Range>
using geo::part::details::PartitionRangeLowerBoundExtractor< Range >::Area_t = typename Base_t::Area_t

Definition at line 711 of file Partitions.h.

template<PartitionBase::AreaRangeMember_t Range>
using geo::part::details::PartitionRangeLowerBoundExtractor< Range >::Base_t = RangeLowerBoundExtractor<Range>

Definition at line 710 of file Partitions.h.

template<PartitionBase::AreaRangeMember_t Range>
using geo::part::details::PartitionRangeLowerBoundExtractor< Range >::Partition_t = PartitionBase

Base type of the partition.

Definition at line 713 of file Partitions.h.

Member Function Documentation

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

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
inlineinherited

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
inlineinherited

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
inlineinherited

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
inlineinherited

Definition at line 697 of file Partitions.h.

698  { return (*this)(*ptr); }
template<PartitionBase::AreaRangeMember_t Range>
auto geo::part::details::PartitionRangeLowerBoundExtractor< Range >::operator() ( Partition_t const &  part)
inline

Definition at line 717 of file Partitions.h.

References geo::part::AreaOwner::area(), and fhicl::detail::atom::value().

718  { return Base_t::operator()(part.area()); }
double operator()(double lower) const
Definition: Partitions.h:690
TString part[npart]
Definition: Style.C:32
template<PartitionBase::AreaRangeMember_t Range>
template<typename PartPtr , typename = std::enable_if_t<details::is_partition_ptr<PartPtr>::value>>
auto geo::part::details::PartitionRangeLowerBoundExtractor< Range >::operator() ( PartPtr const &  part)
inline

Definition at line 723 of file Partitions.h.

724  { return operator()(*part); }
TString part[npart]
Definition: Style.C:32

Member Data Documentation

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

Definition at line 687 of file Partitions.h.


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