12#include <klm/dataobjects/KLMElementNumberDefinitions.h>
void setChannelStatus(KLMChannelNumber channel, enum ChannelStatus status)
Set channel status.
enum ChannelStatus getChannelStatus(KLMChannelNumber channel) const
Get channel status.
unsigned int newNormalChannels(const KLMChannelStatus &status)
Number of new channels with status c_Normal that have a different status in another channel-status da...
void setStatusAllChannels(enum ChannelStatus status)
Set status for all channels.
ClassDef(Belle2::KLMChannelStatus, 1)
Class version.
int getActiveStripsInModule(KLMChannelNumber module) const
Get number of active strips in the specified KLM module.
std::map< KLMChannelNumber, enum ChannelStatus > m_ChannelStatus
Channel data.
KLMChannelStatus()
Constructor.
ChannelStatus
Channel status.
@ c_Hot
Hot channel (large background).
@ c_Undetermined
Undetermined (used during calibration).
@ c_Normal
Normally operating channel.
@ c_Dead
Dead channel (no signal).
@ c_Unknown
Unknown status (no data).
~KLMChannelStatus()
Destructor.
bool operator==(const KLMChannelStatus &status)
Operator ==.
uint16_t KLMChannelNumber
Channel number.
Abstract base class for different kinds of events.