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

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

Definition at line 657 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 660 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 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
inlineinherited

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
inlineinherited

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
inlineinherited

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
inlineinherited

Definition at line 648 of file Partitions.h.

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

Definition at line 664 of file Partitions.h.

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

664 { return Base_t::operator()(part.area()); }
TString part[npart]
Definition: Style.C:32
double operator()(double lower) const
Definition: Partitions.h:644
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 667 of file Partitions.h.

668  {
669  return operator()(*part);
670  }
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 641 of file Partitions.h.


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