5 #ifndef APAGeometryALG_H 6 #define APAGeometryALG_H 17 namespace fhicl {
class ParameterSet; }
43 bool APAChannelsIntersect( uint32_t chan1,
45 std::vector< geo::WireIDIntersection > & IntersectVector)
const;
48 bool LineSegChanIntersect( TVector3 xyzStart,
51 std::vector< geo::WireID >& widsCrossed,
52 bool ExtendLine )
const;
55 std::vector<geo::WireID> ChanSegsPerSide(uint32_t chan,
unsigned int side)
const;
56 std::vector<geo::WireID> ChanSegsPerSide(std::vector<geo::WireID> wids,
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(uint32_t chan)
const;
68 void ChannelToAPA( uint32_t chan,
70 unsigned int & cryo)
const;
71 APAView_t APAView(uint32_t chan)
const;
72 unsigned int ChannelsInView(
geo::View_t geoview )
const;
75 unsigned int cryo )
const;
77 uint32_t chan )
const;
78 uint32_t FirstChannelInView( uint32_t chan )
const;
79 unsigned int ChannelsInAPAView( APAView_t apaview )
const;
80 unsigned int ChannelsPerAPA()
const {
return fChannelsPerAPA; };
100 double fChannelRange[2];
106 #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.
art framework interface to geometry description
Z view on the larger-x side of the APA.
enum apa::_apa_plane_proj APAView_t
virtual void reconfigure(fhicl::ParameterSet const &pset)
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