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

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

#include "Partitions.h"

Inheritance diagram for geo::part::DepthPartition< Data >:
geo::part::PartitionSortedByRange< Data,&PartitionBase::Area_t::depth >

Public Types

using Base_t = PartitionSortedByRange< Data,&PartitionBase::Area_t::depth >
 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, double d) 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::DepthPartition< Data >

Partition of area along the depth dimension.

Definition at line 464 of file Partitions.h.

Member Typedef Documentation

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

Base class.

Definition at line 470 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::DepthPartition< Data >::describeIntro ( ) const
overrideprivatevirtual

Definition at line 910 of file Partitions.h.

910  {
911  std::ostringstream sstr;
912  sstr
913  << Base_t::size() << " partitions along depth covering " << Base_t::area();
914  return sstr.str();
915 } // geo::part::DepthPartition<Data>::describeIntro()
template<typename Data >
virtual Base_t::Partition_t const* geo::part::DepthPartition< Data >::findPart ( double  ,
double  d 
) const
inlineoverridevirtual

Returns the only partition which could contain the specified depth.

Definition at line 476 of file Partitions.h.

477  { return Base_t::findPartWithKey(d); }
Float_t d
Definition: plot.C:237

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