14 const float maxDisplacement,
20 iterDghtr1 != iterDghtrEnd1;
25 iterDghtr2 = iterDghtr1,
27 iterDghtr2 != iterDghtrEnd2;
31 if (tpcVolume1.
GetTpc() == tpcVolume2.
GetTpc())
continue;
41 const float gapX(deltaX - widthX);
42 const float gapY(deltaY - widthY);
43 const float gapZ(deltaZ - widthZ);
60 geo::Vector_t gaps(gapX, gapY, gapZ), deltas(deltaX, deltaY, deltaZ);
float GetCenterZ() const
Return Z position at centre of tpc volume.
float GetWidthY() const
Return Y span of tpc volume.
bool CheckDetectorGapSize(const geo::Vector_t &gaps, const geo::Vector_t &deltas, const float maxDisplacement) const override
Check whether a gap size is small enough to be registered as a detector gap.
daughter drift volume class to hold properties of daughter drift volumes
float GetWidthZ() const
Return Z span of tpc volume.
float GetWidthX() const
Return X span of tpc volume.
Detector interface for ProtoDUNE dual phase.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space.
void LoadDaughterDetectorGaps(const LArDriftVolume &driftVolume, const float maxDisplacement, LArDetectorGapList &listOfGaps) const override
Create detector gaps for all daughter volumes in a logical TPC volume.
const LArDaughterDriftVolumeList & GetTpcVolumeList() const
Return list of daughter drift volumes associated with this drift volume.
float GetCenterX() const
Return X position at centre of tpc volume.
float GetCenterY() const
Return Y position at centre of tpc volume.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
std::vector< LArDetectorGap > LArDetectorGapList
drift volume class to hold properties of drift volume
LArDetectorGap CreateDetectorGap(const geo::Point_t &point1, const geo::Point_t &point2, const geo::Vector_t &widths) const override
Create a detector gap.
unsigned int GetTpc() const
Return tpc ID.