Belle II Software development
|
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. | |
void | setActiveCh (unsigned modId, unsigned chNo, bool active) |
Set active/non-active channel. | |
void | setActiveHAPD (unsigned modId, bool active) |
Set active/non-active HAPD module. | |
void | setActiveAPD (unsigned modId, unsigned apdId, bool active) |
Set active/non-active APD of HAPD module. | |
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.
ARICHChannelMask | ( | ) |
Default constructor.
Definition at line 17 of file ARICHChannelMask.cc.
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 print | ( | ) | const |
dump content
Definition at line 56 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.
|
private |
Detector Mask of active channels.
Definition at line 70 of file ARICHChannelMask.h.