Detector interface for a 3view, horizontal drift, single-phase LArTPC. More...
#include <VintageLArTPCThreeView.h>
Public Member Functions | |
virtual 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... | |
virtual 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... | |
virtual 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... | |
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 | WirePitchW () const override |
The wire pitch of the mapped W 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... | |
virtual 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... | |
virtual 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... | |
virtual LArDetectorGap | CreateDetectorGap (const geo::Point_t &point1, const geo::Point_t &point2, const geo::Vector_t &widths) const override |
Create a detector gap. More... | |
virtual 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... | |
virtual PandoraApi::Geometry::LineGap::Parameters | CreateLineGapParametersFromDetectorGaps (const LArDetectorGap &gap) const override |
Create the line gap parameters to give to the pandora API. More... | |
virtual 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... | |
const art::ServiceHandle< geo::Geometry > & | GetLArSoftGeometry () const |
Loan the LArSoft geometry handle owned by this class. More... | |
Private Attributes | |
art::ServiceHandle< geo::Geometry > | m_LArSoftGeometry |
the LArSoft geometry handle More... | |
Detector interface for a 3view, horizontal drift, single-phase LArTPC.
Definition at line 27 of file VintageLArTPCThreeView.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 |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 176 of file VintageLArTPCThreeView.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 |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 189 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
Create the line gap parameters to give to the pandora API.
gap | the input detector gap |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 209 of file VintageLArTPCThreeView.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 |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 217 of file VintageLArTPCThreeView.h.
|
inline |
Loan the LArSoft geometry handle owned by this class.
Definition at line 252 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
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 |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 199 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's U view.
tpc | the LArSoft TPC ID |
cstat | the LArSoft cryostat ID |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::DUNEFarDetVDThreeView, lar_pandora::ICARUS, and lar_pandora::ProtoDUNEDualPhase.
Definition at line 93 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's V view.
tpc | the LArSoft TPC ID |
cstat | the LArSoft cryostat ID |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::DUNEFarDetVDThreeView, lar_pandora::ICARUS, and lar_pandora::ProtoDUNEDualPhase.
Definition at line 102 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
Map a LArSoft view to Pandora's W view.
tpc | the LArSoft TPC ID |
cstat | the LArSoft cryostat ID |
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::DUNEFarDetVDThreeView, lar_pandora::ICARUS, and lar_pandora::ProtoDUNEDualPhase.
Definition at line 113 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The angle of the wires in the mapped U view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 146 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The angle of the wires in the mapped V view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 156 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The angle of the wires in the mapped V view.
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase, and lar_pandora::ICARUS.
Definition at line 166 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The wire pitch of the mapped U view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 122 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The wire pitch of the mapped V view.
Implements lar_pandora::LArPandoraDetectorType.
Definition at line 130 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtual |
The wire pitch of the mapped W view.
Implements lar_pandora::LArPandoraDetectorType.
Reimplemented in lar_pandora::ProtoDUNEDualPhase.
Definition at line 138 of file VintageLArTPCThreeView.h.
|
private |
the LArSoft geometry handle
Definition at line 87 of file VintageLArTPCThreeView.h.