41 bool getXYFromAsic(
unsigned asicChn,
int& xChn,
int& yChn)
const;
57 void mapXY2Asic(
unsigned xChn,
unsigned yChn,
unsigned asicChn);
The Class for ARICH HAPD channel mapping.
int getAsicFromXY(unsigned xChn, unsigned yChn) const
Get asic channel number from HAPD channel X,Y numbers.
ARICHChannelMapping()
Default constructor.
ClassDef(ARICHChannelMapping, 1)
ClassDef, must be the last term before the closing {}.
std::vector< uint8_t > m_xy2asic
map of X,Y to asic channels numbers
bool getXYFromAsic(unsigned asicChn, int &xChn, int &yChn) const
Get HAPD channel X,Y numbers from asic channel number.
std::vector< uint8_t > m_asic2xy
map of asic to X,Y channel numbers
void print() const
Print mapping parameters.
void mapXY2Asic(unsigned xChn, unsigned yChn, unsigned asicChn)
Add entry to channel map.
Abstract base class for different kinds of events.