8 #ifndef GEO_CHANNELMAPALG_H 9 #define GEO_CHANNELMAPALG_H 12 #include "cetlib_except/exception.h" 22 #include "Geometry/GeometryCore.h" 55 virtual void Uninitialize() = 0;
56 virtual unsigned int Nchannels()
const = 0;
57 virtual unsigned int NearestChannel(
float const* xyz)
const = 0;
60 virtual unsigned int GapChannelNumber()
const = 0;
61 virtual void ChannelToPosition(
unsigned int chan,
float* xyz)
const = 0;
62 virtual float GetIROCInnerRadius()
const = 0;
63 virtual float GetIROCOuterRadius()
const = 0;
64 virtual float GetOROCInnerRadius()
const = 0;
65 virtual float GetOROCOuterRadius()
const = 0;
66 virtual float GetOROCPadHeightChangeRadius()
const = 0;
76 #endif // GEO_CHANNELMAPALG_H std::vector< gar::geo::ChanWithPos > ChanWithNeighbors
int chan_number
the invalid wire number
Description of geometry of one entire detector.
int better_chan_number
a suggestion for a good wire number
General GArSoft Utilities.
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
InvalidChannelIDError(std::string const &cat)
InvalidChannelIDError(std::string const &cat, int bad_chan, int better_chan=-1)
LArSoft geometry interface.
Exception thrown on invalid wire number (e.g. NearestWireID())
cet::coded_exception< error, detail::translate > exception