LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
geo::part::WidthPartition< Data > Class Template Reference

Partition of area along the width dimension. More...

#include "Partitions.h"

Inheritance diagram for geo::part::WidthPartition< Data >:
geo::part::PartitionSortedByRange< Data,&PartitionBase::Area_t::width >

Public Types

using Base_t = PartitionSortedByRange< Data,&PartitionBase::Area_t::width >
 Base class. More...
 
using Base_t = SortedPartition< Data, details::PartitionSorterByAreaRangeLower< Range >>
 Base class. More...
 
using Base_t = PartitionContainer< Data >
 Base class. More...
 

Public Member Functions

virtual Base_t::Partition_t const * findPart (double w, double) const override
 Returns the only partition which could contain the specified depth. More...
 

Private Member Functions

virtual std::string describeIntro () const override
 

Detailed Description

template<typename Data>
class geo::part::WidthPartition< Data >

Partition of area along the width dimension.

Definition at line 489 of file Partitions.h.

Member Typedef Documentation

template<typename Data >
using geo::part::WidthPartition< Data >::Base_t = PartitionSortedByRange<Data, &PartitionBase::Area_t::width>

Base class.

Definition at line 495 of file Partitions.h.

template<typename Data >
using geo::part::SortedPartition< Data, Sorter >::Base_t = PartitionContainer<Data>

Base class.

Definition at line 399 of file Partitions.h.

template<typename Data >
using geo::part::PartitionSortedByRange< Data, Range >::Base_t = SortedPartition <Data, details::PartitionSorterByAreaRangeLower<Range>>

Base class.

Definition at line 455 of file Partitions.h.

Member Function Documentation

template<typename Data >
std::string geo::part::WidthPartition< Data >::describeIntro ( ) const
overrideprivatevirtual

Definition at line 922 of file Partitions.h.

922  {
923  std::ostringstream sstr;
924  sstr
925  << Base_t::size() << " partitions along width covering " << Base_t::area();
926  return sstr.str();
927 } // geo::part::WidthPartition<Data>::describeIntro()
template<typename Data >
virtual Base_t::Partition_t const* geo::part::WidthPartition< Data >::findPart ( double  w,
double   
) const
inlineoverridevirtual

Returns the only partition which could contain the specified depth.

Definition at line 501 of file Partitions.h.

502  { return Base_t::findPartWithKey(w); }
Float_t w
Definition: plot.C:23

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