37 void set(
int pixelID,
bool value);
81 unsigned k = pixelID - 1;
87 unsigned k = pixelID - 1;
Pixel masks of a single module.
const std::vector< bool > & getMasks() const
Returns pixel masks of entire module.
void set(int pixelID, bool value)
Sets mask value for a given pixel.
std::vector< bool > m_masks
pixel masks (true for active), index = pixelID -1
int getModuleID() const
Returns slot ID.
unsigned getNumPixels() const
Returns number of pixels.
void setPixelOff(int pixelID)
Turns given pixel off.
bool isActive(int pixelID) const
Checks if pixel is active.
Abstract base class for different kinds of events.