Belle II Software development
|
KLM channel status. More...
#include <KLMChannelStatus.h>
Public Types | |
enum | ChannelStatus { c_Unknown , c_Normal , c_Dead , c_Hot , c_Undetermined } |
Channel status. More... | |
Public Member Functions | |
KLMChannelStatus () | |
Constructor. | |
~KLMChannelStatus () | |
Destructor. | |
enum ChannelStatus | getChannelStatus (KLMChannelNumber channel) const |
Get channel status. | |
void | setChannelStatus (KLMChannelNumber channel, enum ChannelStatus status) |
Set channel status. | |
void | setStatusAllChannels (enum ChannelStatus status) |
Set status for all channels. | |
int | getActiveStripsInModule (KLMChannelNumber module) const |
Get number of active strips in the specified KLM module. | |
bool | operator== (KLMChannelStatus &status) |
Operator ==. | |
unsigned int | newNormalChannels (KLMChannelStatus &status) |
Number of new channels with status c_Normal that have a different status in another channel-status data. | |
Private Member Functions | |
ClassDef (Belle2::KLMChannelStatus, 1) | |
Class version. | |
Private Attributes | |
std::map< KLMChannelNumber, enum ChannelStatus > | m_ChannelStatus |
Channel data. | |
KLM channel status.
Definition at line 29 of file KLMChannelStatus.h.
enum ChannelStatus |
Channel status.
Definition at line 36 of file KLMChannelStatus.h.
KLMChannelStatus | ( | ) |
~KLMChannelStatus | ( | ) |
int getActiveStripsInModule | ( | KLMChannelNumber | module | ) | const |
Get number of active strips in the specified KLM module.
[in] | module | Module number. |
Definition at line 58 of file KLMChannelStatus.cc.
enum KLMChannelStatus::ChannelStatus getChannelStatus | ( | KLMChannelNumber | channel | ) | const |
Get channel status.
[in] | channel | Channel number. |
Definition at line 30 of file KLMChannelStatus.cc.
unsigned int newNormalChannels | ( | KLMChannelStatus & | status | ) |
Number of new channels with status c_Normal that have a different status in another channel-status data.
Definition at line 107 of file KLMChannelStatus.cc.
bool operator== | ( | KLMChannelStatus & | status | ) |
Operator ==.
Definition at line 89 of file KLMChannelStatus.cc.
void setChannelStatus | ( | KLMChannelNumber | channel, |
enum ChannelStatus | status | ||
) |
Set channel status.
[in] | channel | Channel number. |
[in] | status | Status. |
Definition at line 38 of file KLMChannelStatus.cc.
void setStatusAllChannels | ( | enum ChannelStatus | status | ) |
Set status for all channels.
[in] | status | Status. |
Definition at line 51 of file KLMChannelStatus.cc.
|
private |
Channel data.
Definition at line 104 of file KLMChannelStatus.h.