5 #ifndef APAGeometryALG_H 6 #define APAGeometryALG_H 42 bool APAChannelsIntersect(uint32_t chan1,
44 std::vector<geo::WireIDIntersection>& IntersectVector)
const;
47 bool LineSegChanIntersect(TVector3 xyzStart,
50 std::vector<geo::WireID>& widsCrossed,
51 bool ExtendLine)
const;
54 std::vector<geo::WireID> ChanSegsPerSide(uint32_t chan,
unsigned int side)
const;
55 std::vector<geo::WireID> ChanSegsPerSide(std::vector<geo::WireID> wids,
56 unsigned int side)
const;
58 std::vector<double> ThreeChanPos(uint32_t u, uint32_t v, uint32_t
z)
const;
61 geo::WireID NearestWireIDOnChan(
const double WorldLoc[3],
63 unsigned int const plane,
64 unsigned int const tpc = 0,
65 unsigned int const cstat = 0)
const;
67 unsigned int ChannelToAPA(
69 void ChannelToAPA(uint32_t chan,
unsigned int&
apa,
unsigned int& cryo)
const;
70 APAView_t APAView(uint32_t chan)
const;
71 unsigned int ChannelsInView(
geo::View_t geoview)
const;
72 uint32_t FirstChannelInView(
geo::View_t geoview,
unsigned int apa,
unsigned int cryo)
const;
73 uint32_t FirstChannelInView(
geo::View_t geoview, uint32_t chan)
const;
74 uint32_t FirstChannelInView(uint32_t chan)
const;
75 unsigned int ChannelsInAPAView(APAView_t apaview)
const;
76 unsigned int ChannelsPerAPA()
const {
return fChannelsPerAPA; };
94 double fChannelRange[2];
100 #endif // ifndef APAGeometryALG_H
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
U view on both sides of the APA.
unsigned int fAPAsPerCryo
V view on both sides of the APA.
Z view on the larger-x side of the APA.
enum apa::_apa_plane_proj APAView_t
unsigned int fChannelsPerAPA
All APAs have this same number of channels.
Definition of data types for geometry description.
Z view on the smaller-x side of the APA.
art::ServiceHandle< geo::Geometry const > fGeom
art framework interface to geometry description