11#include <pxd/dbobjects/PXDMaskedPixelPar.h>
12#include <pxd/dbobjects/PXDDeadPixelPar.h>
13#include <framework/database/DBObjPtr.h>
14#include <vxd/dataobjects/VxdID.h>
58 bool pixelOK(
VxdID id,
unsigned int uid,
unsigned int vid)
const;
66 bool pixelDead(
VxdID id,
unsigned int uid,
unsigned int vid)
const;
The payload telling which PXD pixel is dead (=Readout system does not receive signals)
The payload telling which PXD pixel to mask (ignore)
Singleton class for managing pixel masking for the PXD.
PXDMaskedPixelPar m_maskedPixels
List of masked pixels.
std::unique_ptr< DBObjPtr< PXDDeadPixelPar > > m_deadPixelsFromDB
Dead pixels retrieved from DB.
bool pixelDead(VxdID id, unsigned int uid, unsigned int vid) const
Check whether a pixel on a given sensor is dead or not.
void initialize()
Initialize the PXDPixelMasker.
bool pixelOK(VxdID id, unsigned int uid, unsigned int vid) const
Check whether a pixel on a given sensor is OK or not.
void maskSinglePixel(VxdID id, unsigned int uid, unsigned int vid)
Mask single pixel.
void setMaskedPixels()
Set masked pixels from DB.
void setDeadPixels()
Set dead pixels from DB.
static PXDPixelMasker & getInstance()
Main (and only) way to access the PXDPixelMasker.
PXDPixelMasker(const PXDPixelMasker &)=delete
Singleton class, forbidden copy constructor.
PXDPixelMasker & operator=(const PXDPixelMasker &)=delete
Singleton class, forbidden assignment operator.
std::unique_ptr< DBObjPtr< PXDMaskedPixelPar > > m_maskedPixelsFromDB
Masked pixels retrieved from DB.
const PXDMaskedPixelPar & getMaskedPixelParameters() const
Return masked pixel payload.
PXDDeadPixelPar m_deadPixels
List of masked pixels.
const PXDDeadPixelPar & getDeadPixelParameters() const
Return dead pixel payload.
PXDPixelMasker()
Singleton class, hidden constructor.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.