9#include <top/reconstruction_cpp/PixelMasks.h>
10#include <top/geometry/TOPGeometryPar.h>
11#include <framework/logging/Logger.h>
23 if (not geo->isModuleIDValid(moduleID)) {
24 B2FATAL(
"TOP::PixelMasks: invalid slot number, moduleID = " << moduleID);
27 int numPixels = geo->getModule(
m_moduleID).getPMTArray().getNumPixels();
28 m_masks.resize(numPixels,
true);
PixelMasks(int moduleID)
Constructor: all pixels are turned on (active)
std::vector< bool > m_masks
pixel masks (true for active), index = pixelID -1
const TOPGeometry * getGeometry() const
Returns pointer to geometry object using basf2 units.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
Abstract base class for different kinds of events.