LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Data associated to a single drift volume. More...
#include "DriftPartitions.h"
Public Types | |
using | Comparer_t = details::Comparer< DriftVolume_t, double, DriftVolume_t::Position > |
Type of static object to compare DriftVolume_t objects. More... | |
Public Member Functions | |
DriftVolume_t (std::unique_ptr< TPCPartition_t > &&part, Range_t const &cover) | |
Constructor: imports the specified partition and drift coverage range. More... | |
bool | coversDrift (double drift) const |
Returns whether this drift volume covers specified drift coordinate. More... | |
Static Public Member Functions | |
static double | Position (DriftVolume_t const &part) |
Returns the drift coordinate of the specified partition. More... | |
Public Attributes | |
std::unique_ptr< TPCPartition_t > | partition |
A partition of the volume in width and depth. More... | |
Range_t | driftCoverage |
Interval of drift direction covered by this drift volume. More... | |
Data associated to a single drift volume.
Definition at line 91 of file DriftPartitions.h.
using geo::DriftPartitions::DriftVolume_t::Comparer_t = details::Comparer<DriftVolume_t, double, DriftVolume_t::Position> |
Type of static object to compare DriftVolume_t
objects.
Definition at line 112 of file DriftPartitions.h.
|
inline |
Constructor: imports the specified partition and drift coverage range.
Definition at line 99 of file DriftPartitions.h.
|
inline |
Returns whether this drift volume covers specified drift coordinate.
Definition at line 103 of file DriftPartitions.h.
References lar::util::simple_geo::Range< Data >::contains().
|
inlinestatic |
Returns the drift coordinate of the specified partition.
Definition at line 107 of file DriftPartitions.h.
References driftCoverage, and lar::util::simple_geo::Range< Data >::lower.
Range_t geo::DriftPartitions::DriftVolume_t::driftCoverage |
Interval of drift direction covered by this drift volume.
Definition at line 95 of file DriftPartitions.h.
Referenced by Position().
std::unique_ptr<TPCPartition_t> geo::DriftPartitions::DriftVolume_t::partition |
A partition of the volume in width and depth.
Definition at line 93 of file DriftPartitions.h.