![]() |
Belle II Software
release-08-02-05
|
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. More... | |
| void | setChannelStatus (KLMChannelNumber channel, enum ChannelStatus status) |
| Set channel status. More... | |
| void | setStatusAllChannels (enum ChannelStatus status) |
| Set staus for all channels. More... | |
| int | getActiveStripsInModule (KLMChannelNumber module) const |
| Get number of active strips in the specified KLM module. More... | |
| 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.
| 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 25 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 staus for all channels.
| [in] | status | Status. |
Definition at line 51 of file KLMChannelStatus.cc.