LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Functions | |
LArPandoraDetectorType * | GetDetectorType () |
Factory class that returns the correct detector type interface. More... | |
float | WireAngle (const geo::View_t view, const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat, const art::ServiceHandle< geo::Geometry > &larsoftGeometry) |
Calculate the wire angle of a LArTPC view in a given TPC/cryostat. More... | |
PandoraApi::Geometry::LineGap::Parameters | CreateDriftGapParameters (const LArDetectorGap &gap) |
Make the drift gap parameters for the Pandora API. More... | |
PandoraApi::Geometry::LineGap::Parameters | CreateReadoutGapParameters (const float firstPoint, const float lastPoint, const float xFirst, const float xLast, const float halfWirePitch, const pandora::LineGapType gapType) |
Make the readout gap parameters for the Pandora API. More... | |
PandoraApi::Geometry::LineGap::Parameters lar_pandora::detector_functions::CreateDriftGapParameters | ( | const LArDetectorGap & | gap | ) |
Make the drift gap parameters for the Pandora API.
gap | the detector gap object |
Definition at line 26 of file LArPandoraDetectorType.cxx.
References lar_pandora::LArDetectorGap::GetX1(), and lar_pandora::LArDetectorGap::GetX2().
Referenced by lar_pandora::VintageLArTPCThreeView::CreateLineGapParametersFromDetectorGaps().
PandoraApi::Geometry::LineGap::Parameters lar_pandora::detector_functions::CreateReadoutGapParameters | ( | const float | firstPoint, |
const float | lastPoint, | ||
const float | xFirst, | ||
const float | xLast, | ||
const float | halfWirePitch, | ||
const pandora::LineGapType | gapType | ||
) |
Make the readout gap parameters for the Pandora API.
firstPoint | the first point in the gap |
lastPoint | the last point ih the gap |
xFirst | the min X of the gap |
xLast | the max X of the gap |
halfWirePitch | the half wire pitch |
gapType | the pandora gap type |
Definition at line 41 of file LArPandoraDetectorType.cxx.
Referenced by lar_pandora::ProtoDUNEDualPhase::CreateLineGapParametersFromReadoutGaps(), and lar_pandora::VintageLArTPCThreeView::CreateLineGapParametersFromReadoutGaps().
LArPandoraDetectorType * lar_pandora::detector_functions::GetDetectorType | ( | ) |
Factory class that returns the correct detector type interface.
Definition at line 23 of file GetDetectorType.cxx.
References geo::kU, geo::kV, geo::kW, geo::kY, geo::kZ, geo::GeometryCore::MaxPlanes(), geo::TPCGeo::Plane(), geo::GeometryCore::TPC(), and geo::PlaneGeo::View().
Referenced by ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::CalculateElement(), lar_pandora::LArPandoraInput::CreatePandoraDetectorGaps(), lar_pandora::LArPandoraInput::CreatePandoraHits2D(), lar_pandora::LArPandoraInput::CreatePandoraReadoutGaps(), lar_pandora::LArPandoraGeometry::LoadDetectorGaps(), lar_pandora::LArPandoraGeometry::LoadGeometry(), and lar_pandora::LArPandoraTrackCreation::produce().
float lar_pandora::detector_functions::WireAngle | ( | const geo::View_t | view, |
const geo::TPCID::TPCID_t | tpc, | ||
const geo::CryostatID::CryostatID_t | cstat, | ||
const art::ServiceHandle< geo::Geometry > & | larsoftGeometry | ||
) |
Calculate the wire angle of a LArTPC view in a given TPC/cryostat.
view | the LArSoft view |
tpc | the LArSoft TPC ID |
cstat | the LArSoft cryostat ID |
larsoftGeometry | the LArSoft geometry service handle |
Definition at line 16 of file LArPandoraDetectorType.cxx.
References geo::GeometryCore::WireAngleToVertical().
Referenced by lar_pandora::VintageLArTPCThreeView::WireAngleU(), lar_pandora::VintageLArTPCThreeView::WireAngleV(), lar_pandora::ICARUS::WireAngleW(), and lar_pandora::VintageLArTPCThreeView::WireAngleW().