![]() |
LArSoft
v09_93_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Detector interface for ProtoDUNE dual phase. More...
#include "ProtoDUNEDualPhase.h"
Public Member Functions | |
| geo::View_t | TargetViewU (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| Map a LArSoft view to Pandora's U view. More... | |
| geo::View_t | TargetViewV (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| Map a LArSoft view to Pandora's V view. More... | |
| geo::View_t | TargetViewW (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| Map a LArSoft view to Pandora's W view. More... | |
| float | WirePitchW () const override |
| The wire pitch of the mapped W view. More... | |
| float | WireAngleW (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| The angle of the wires in the mapped V view. More... | |
| 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. More... | |
| LArDetectorGap | CreateDetectorGap (const geo::Point_t &point1, const geo::Point_t &point2, const geo::Vector_t &widths) const override |
| Create a detector gap. More... | |
| void | LoadDaughterDetectorGaps (const LArDriftVolume &driftVolume, const float maxDisplacement, LArDetectorGapList &listOfGaps) const override |
| Create detector gaps for all daughter volumes in a logical TPC volume. More... | |
| PandoraApi::Geometry::LineGap::Parameters | CreateLineGapParametersFromDetectorGaps (const LArDetectorGap &gap) const override |
| Create the line gap parameters to give to the pandora API. More... | |
| PandoraApi::Geometry::LineGap::Parameters | CreateLineGapParametersFromReadoutGaps (const geo::View_t view, const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat, const geo::Point_t &firstXYZ, const geo::Point_t &lastXYZ, const float halfWirePitch, const float xFirst, const float xLast, const pandora::Pandora *pPandora) const override |
| Create the line gap parameters to give to the pandora API. More... | |
| virtual float | WirePitchU () const override |
| The wire pitch of the mapped U view. More... | |
| virtual float | WirePitchV () const override |
| The wire pitch of the mapped V view. More... | |
| virtual float | WireAngleU (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| The angle of the wires in the mapped U view. More... | |
| virtual float | WireAngleV (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override |
| The angle of the wires in the mapped V view. More... | |
| const art::ServiceHandle< geo::Geometry > & | GetLArSoftGeometry () const |
| Loan the LArSoft geometry handle owned by this class. More... | |
Detector interface for ProtoDUNE dual phase.
Definition at line 20 of file ProtoDUNEDualPhase.h.
|
inlineoverridevirtual |
Check whether a gap size is small enough to be registered as a detector gap.
| gaps | a cartesean vector holding gap sizes between adjacent TPCs |
| deltas | a cartesean vector holding distances between adjacent TPCs |
| maxDisplacement | the gap size threshold |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 107 of file ProtoDUNEDualPhase.h.
Referenced by LoadDaughterDetectorGaps().
|
inlineoverridevirtual |
Create a detector gap.
| point1 | a point on TPC1 that are closest to TPC2 |
| point2 | a point on TPC2 that are closest to TPC1 |
| width | the gap sizes |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 116 of file ProtoDUNEDualPhase.h.
Referenced by LoadDaughterDetectorGaps().
|
inlineoverridevirtual |
Create the line gap parameters to give to the pandora API.
| gap | the input detector gap |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 131 of file ProtoDUNEDualPhase.h.
References lar_pandora::LArDetectorGap::GetX1(), lar_pandora::LArDetectorGap::GetX2(), lar_pandora::LArDetectorGap::GetY1(), lar_pandora::LArDetectorGap::GetY2(), lar_pandora::LArDetectorGap::GetZ1(), and lar_pandora::LArDetectorGap::GetZ2().
|
inlineoverridevirtual |
Create the line gap parameters to give to the pandora API.
| view | the LArSoft view |
| tpc | the LArSoft TPC ID |
| cstat | the LArSoft cryostat ID |
| firstXYZ | the first 3D coordinate |
| lastXYZ | the last 3D coordinate |
| halfWirePitch | the half wire pitch |
| pPandora | the pandora instance |
| xFirst | the min X of the gap |
| xLast | the max X of the gap |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 154 of file ProtoDUNEDualPhase.h.
References lar_pandora::detector_functions::CreateReadoutGapParameters(), f, TargetViewU(), and TargetViewV().
|
inlineinherited |
Loan the LArSoft geometry handle owned by this class.
Definition at line 247 of file VintageLArTPCThreeView.h.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry.
Referenced by lar_pandora::DUNEFarDetVDThreeView::TargetViewU(), lar_pandora::ICARUS::TargetViewU(), TargetViewU(), lar_pandora::DUNEFarDetVDThreeView::TargetViewV(), TargetViewV(), lar_pandora::ICARUS::TargetViewV(), lar_pandora::DUNEFarDetVDThreeView::TargetViewW(), lar_pandora::ICARUS::TargetViewW(), and lar_pandora::ICARUS::WireAngleW().
|
overridevirtual |
Create detector gaps for all daughter volumes in a logical TPC volume.
| driftVolume | the parent drift volume |
| maxDisplacement | the gap size threshold |
| listOfGaps | the gaps vector to be filled |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 13 of file ProtoDUNEDualPhase.cxx.
References CheckDetectorGapSize(), CreateDetectorGap(), f, lar_pandora::LArDaughterDriftVolume::GetCenterX(), lar_pandora::LArDaughterDriftVolume::GetCenterY(), lar_pandora::LArDaughterDriftVolume::GetCenterZ(), lar_pandora::LArDaughterDriftVolume::GetTpc(), lar_pandora::LArDriftVolume::GetTpcVolumeList(), lar_pandora::LArDaughterDriftVolume::GetWidthX(), lar_pandora::LArDaughterDriftVolume::GetWidthY(), lar_pandora::LArDaughterDriftVolume::GetWidthZ(), X1, X2, Y1, Y2, Z1, and Z2.
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's U view.
| tpc | the LArSoft TPC ID |
| cstat | the LArSoft cryostat ID |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 65 of file ProtoDUNEDualPhase.h.
References lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), and geo::GeometryCore::View().
Referenced by CreateLineGapParametersFromReadoutGaps().
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's V view.
| tpc | the LArSoft TPC ID |
| cstat | the LArSoft cryostat ID |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 74 of file ProtoDUNEDualPhase.h.
References lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), and geo::GeometryCore::View().
Referenced by CreateLineGapParametersFromReadoutGaps().
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's W view.
| tpc | the LArSoft TPC ID |
| cstat | the LArSoft cryostat ID |
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 83 of file ProtoDUNEDualPhase.h.
References geo::kUnknown.
|
inlineoverridevirtualinherited |
The angle of the wires in the mapped U view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 145 of file VintageLArTPCThreeView.h.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry, lar_pandora::VintageLArTPCThreeView::TargetViewU(), and lar_pandora::detector_functions::WireAngle().
|
inlineoverridevirtualinherited |
The angle of the wires in the mapped V view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 154 of file VintageLArTPCThreeView.h.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry, lar_pandora::VintageLArTPCThreeView::TargetViewV(), and lar_pandora::detector_functions::WireAngle().
|
inlineoverridevirtual |
The angle of the wires in the mapped V view.
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 99 of file ProtoDUNEDualPhase.h.
|
inlineoverridevirtualinherited |
The wire pitch of the mapped U view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 124 of file VintageLArTPCThreeView.h.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry, lar_pandora::VintageLArTPCThreeView::TargetViewU(), and geo::GeometryCore::WirePitch().
Referenced by WirePitchW().
|
inlineoverridevirtualinherited |
The wire pitch of the mapped V view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 131 of file VintageLArTPCThreeView.h.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry, lar_pandora::VintageLArTPCThreeView::TargetViewV(), and geo::GeometryCore::WirePitch().
Referenced by WirePitchW().
|
inlineoverridevirtual |
The wire pitch of the mapped W view.
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 92 of file ProtoDUNEDualPhase.h.
References lar_pandora::VintageLArTPCThreeView::WirePitchU(), and lar_pandora::VintageLArTPCThreeView::WirePitchV().