11 namespace lar_pandora {
15 const float maxDisplacement,
18 for (LArDaughterDriftVolumeList::const_iterator
21 iterDghtr1 != iterDghtrEnd1;
25 for (LArDaughterDriftVolumeList::const_iterator
26 iterDghtr2 = iterDghtr1,
28 iterDghtr2 != iterDghtrEnd2;
32 if (tpcVolume1.
GetTpc() == tpcVolume2.
GetTpc())
continue;
42 const float gapX(deltaX - widthX);
43 const float gapY(deltaY - widthY);
44 const float gapZ(deltaZ - widthZ);
61 geo::Vector_t gaps(gapX, gapY, gapZ), deltas(deltaX, deltaY, deltaZ);
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.
float GetCenterZ() const
Return Z position at centre of tpc volume.
float GetWidthY() const
Return Y span of tpc volume.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space.
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.
BEGIN_PROLOG supported so bottom corner of box bottom corner of box bottom corner of box top corner of box Y1
LArDetectorGap CreateDetectorGap(const geo::Point_t &point1, const geo::Point_t &point2, const geo::Vector_t &widths) const override
Create a detector gap.
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.
BEGIN_PROLOG supported so bottom corner of box bottom corner of box bottom corner of box top corner of box top corner of box Z1
std::vector< LArDetectorGap > LArDetectorGapList
void LoadDaughterDetectorGaps(const LArDriftVolume &driftVolume, const float maxDisplacement, LArDetectorGapList &listOfGaps) const override
Create detector gaps for all daughter volumes in a logical TPC volume.
drift volume class to hold properties of drift volume
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
unsigned int GetTpc() const
Return tpc ID.