LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Detector interface for ICARUS. More...
#include "ICARUS.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 | 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 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 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 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... | |
const art::ServiceHandle< geo::Geometry > & | GetLArSoftGeometry () const |
Loan the LArSoft geometry handle owned by this class. More... | |
|
inlineoverridevirtualinherited |
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 172 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtualinherited |
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 184 of file VintageLArTPCThreeView.h.
|
inlineoverridevirtualinherited |
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 203 of file VintageLArTPCThreeView.h.
References lar_pandora::detector_functions::CreateDriftGapParameters().
|
inlineoverridevirtualinherited |
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 211 of file VintageLArTPCThreeView.h.
References lar_pandora::detector_functions::CreateReadoutGapParameters(), f, lar_pandora::VintageLArTPCThreeView::TargetViewU(), lar_pandora::VintageLArTPCThreeView::TargetViewV(), and lar_pandora::VintageLArTPCThreeView::TargetViewW().
|
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(), TargetViewU(), lar_pandora::ProtoDUNEDualPhase::TargetViewU(), lar_pandora::DUNEFarDetVDThreeView::TargetViewV(), lar_pandora::ProtoDUNEDualPhase::TargetViewV(), TargetViewV(), lar_pandora::DUNEFarDetVDThreeView::TargetViewW(), TargetViewW(), and WireAngleW().
|
inlineoverridevirtualinherited |
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 193 of file VintageLArTPCThreeView.h.
|
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 35 of file ICARUS.h.
References lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), and geo::kPosX.
|
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 46 of file ICARUS.h.
References lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), and geo::kPosX.
|
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 57 of file ICARUS.h.
References lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), and geo::GeometryCore::View().
Referenced by WireAngleW().
|
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 65 of file ICARUS.h.
References util::abs(), lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry(), TargetViewW(), and lar_pandora::detector_functions::WireAngle().
|
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 lar_pandora::ProtoDUNEDualPhase::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 lar_pandora::ProtoDUNEDualPhase::WirePitchW().
|
inlineoverridevirtualinherited |
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.
References lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry, lar_pandora::VintageLArTPCThreeView::TargetViewW(), and geo::GeometryCore::WirePitch().