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


Public Member Functions | |
| ARICHChannelMask () | |
| Default constructor. | |
| bool | isActive (unsigned modId, unsigned chNo) const |
| Check if channel is active. More... | |
| void | setActiveCh (unsigned modId, unsigned chNo, bool active) |
| Set active/non-active channel. More... | |
| void | setActiveHAPD (unsigned modId, bool active) |
| Set active/non-active HAPD module. More... | |
| void | setActiveAPD (unsigned modId, unsigned apdId, bool active) |
| Set active/non-active APD of HAPD module. More... | |
| void | print () const |
| dump content | |
Private Member Functions | |
| ClassDef (ARICHChannelMask, 1) | |
| ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
| uint32_t | m_DetectorMask [N_HAPDS *N_CHANNELS/32+1] = {0xFFFFFFFF} |
| Detector Mask of active channels. | |
The Class for ARICH HAPD channel mask.
holds mask of non-active channels of all installed HAPDs By default all channels are active
Definition at line 25 of file ARICHChannelMask.h.
| bool isActive | ( | unsigned | modId, |
| unsigned | chNo | ||
| ) | const |
Check if channel is active.
| modId | module ID number |
| chNo | asic channel number |
Definition at line 47 of file ARICHChannelMask.cc.
| void setActiveAPD | ( | unsigned | modId, |
| unsigned | apdId, | ||
| bool | active | ||
| ) |
Set active/non-active APD of HAPD module.
| modId | module ID number |
| apdId | apd chip ID number |
| active | true if active |
Definition at line 39 of file ARICHChannelMask.cc.
| void setActiveCh | ( | unsigned | modId, |
| unsigned | chNo, | ||
| bool | active | ||
| ) |
Set active/non-active channel.
| modId | module ID number |
| chNo | asic channel number |
| active | true if active |
Definition at line 22 of file ARICHChannelMask.cc.
| void setActiveHAPD | ( | unsigned | modId, |
| bool | active | ||
| ) |
Set active/non-active HAPD module.
| modId | module ID number |
| active | true if active |
Definition at line 32 of file ARICHChannelMask.cc.