11#ifndef ALICEO2_FOCAL_PADBADCHANNELMAP_H
12#define ALICEO2_FOCAL_PADBADCHANNELMAP_H
44 const
char*
what() const noexcept final {
return mMessage.data(); }
46 std::size_t
getLayer() const noexcept {
return mLayer; }
47 std::size_t
getChannel() const noexcept {
return mChannel; }
74 std::size_t getChannelIndex(std::size_t
layer, std::size_t channel)
const;
75 std::array<uint8_t, constants::PADS_NLAYERS * constants::PADLAYER_MODULE_NCHANNELS> mChannelStatus;
~ChannelIndexException() noexcept final=default
std::size_t getLayer() const noexcept
const char * what() const noexcept final
std::size_t getChannel() const noexcept
ChannelIndexException(std::size_t layer, std::size_t channel)
bool isDeadChannel(std::size_t layer, std::size_t channel) const
bool isWarmChannel(std::size_t layer, std::size_t channel) const
bool isBadChannel(std::size_t layer, std::size_t channel) const
void setGoodChannel(std::size_t layer, std::size_t channel)
MaskType_t getChannelStatus(std::size_t layer, std::size_t channel) const
void setWarmChannel(std::size_t layer, std::size_t channel)
~PadBadChannelMap()=default
void setChannelStatus(std::size_t layer, std::size_t channel, MaskType_t channeltype)
bool isGoodChannel(std::size_t layer, std::size_t channel) const
void setDeadChannel(std::size_t layer, std::size_t channel)
void setBadChannel(std::size_t layer, std::size_t channel)
GLenum GLuint GLint GLint layer
std::string to_string(gsl::span< T, Size > span)