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 double firstXYZ[3], const double lastXYZ[3], 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... | |
Public Member Functions inherited from lar_pandora::VintageLArTPCThreeView | |
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 110 of file ProtoDUNEDualPhase.h.
|
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 120 of file ProtoDUNEDualPhase.h.
|
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 135 of file ProtoDUNEDualPhase.h.
|
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 158 of file ProtoDUNEDualPhase.h.
|
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 14 of file ProtoDUNEDualPhase.cxx.
|
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 66 of file ProtoDUNEDualPhase.h.
|
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 75 of file ProtoDUNEDualPhase.h.
|
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 84 of file ProtoDUNEDualPhase.h.
|
inlineoverridevirtual |
The angle of the wires in the mapped V view.
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 101 of file ProtoDUNEDualPhase.h.
|
inlineoverridevirtual |
The wire pitch of the mapped W view.
Reimplemented from lar_pandora::VintageLArTPCThreeView.
Definition at line 93 of file ProtoDUNEDualPhase.h.