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 28 of file LArPandoraDetectorType.cxx.
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 43 of file LArPandoraDetectorType.cxx.
LArPandoraDetectorType * lar_pandora::detector_functions::GetDetectorType | ( | ) |
Factory class that returns the correct detector type interface.
Definition at line 24 of file GetDetectorType.cxx.
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 17 of file LArPandoraDetectorType.cxx.