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 99 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 120 of file DriftPartitions.h.
|
inline |
Constructor: imports the specified partition and drift coverage range.
Definition at line 107 of file DriftPartitions.h.
|
inline |
Returns whether this drift volume covers specified drift coordinate.
Definition at line 111 of file DriftPartitions.h.
|
inlinestatic |
Returns the drift coordinate of the specified partition.
Definition at line 115 of file DriftPartitions.h.
Range_t geo::DriftPartitions::DriftVolume_t::driftCoverage |
Interval of drift direction covered by this drift volume.
Definition at line 103 of file DriftPartitions.h.
std::unique_ptr<TPCPartition_t> geo::DriftPartitions::DriftVolume_t::partition |
A partition of the volume in width and depth.
Definition at line 101 of file DriftPartitions.h.