![]() |
Belle II Software
release-08-02-04
|
The Class for ARICH HAPD channel mapping. More...
#include <ARICHChannelMapping.h>


Public Member Functions | |
| ARICHChannelMapping () | |
| Default constructor. | |
| bool | getXYFromAsic (unsigned asicChn, int &xChn, int &yChn) const |
| Get HAPD channel X,Y numbers from asic channel number. More... | |
| int | getAsicFromXY (unsigned xChn, unsigned yChn) const |
| Get asic channel number from HAPD channel X,Y numbers. More... | |
| void | mapXY2Asic (unsigned xChn, unsigned yChn, unsigned asicChn) |
| Add entry to channel map. More... | |
| void | print () const |
| Print mapping parameters. | |
Private Member Functions | |
| ClassDef (ARICHChannelMapping, 1) | |
| ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
| std::vector< uint8_t > | m_xy2asic |
| map of X,Y to asic channels numbers | |
| std::vector< uint8_t > | m_asic2xy |
| map of asic to X,Y channel numbers | |
The Class for ARICH HAPD channel mapping.
This class provides mapping from hapd channel x,y numbers (both 0-11) to channel asic numbers (0-143)
Definition at line 28 of file ARICHChannelMapping.h.
| int getAsicFromXY | ( | unsigned | xChn, |
| unsigned | yChn | ||
| ) | const |
Get asic channel number from HAPD channel X,Y numbers.
| xChn | channel X number |
| yChn | channel Y number |
Definition at line 37 of file ARICHChannelMapping.cc.
| bool getXYFromAsic | ( | unsigned | asicChn, |
| int & | xChn, | ||
| int & | yChn | ||
| ) | const |
Get HAPD channel X,Y numbers from asic channel number.
| asicChn | |
| xChn | returned channel X number |
| yChn | returned channel Y number |
Definition at line 24 of file ARICHChannelMapping.cc.
| void mapXY2Asic | ( | unsigned | xChn, |
| unsigned | yChn, | ||
| unsigned | asicChn | ||
| ) |
Add entry to channel map.
| xChn | channel X number |
| yChn | channel Y number |
| asicChn | asic channel number |
Definition at line 44 of file ARICHChannelMapping.cc.