Belle II Software
release-08-01-10
|
Singleton class for managing pixel masking for the PXD. More...
#include <PXDPixelMasker.h>
Public Member Functions | |
void | initialize () |
Initialize the PXDPixelMasker. | |
void | setMaskedPixels () |
Set masked pixels from DB. | |
void | setDeadPixels () |
Set dead pixels from DB. | |
void | maskSinglePixel (VxdID id, unsigned int uid, unsigned int vid) |
Mask single pixel. More... | |
bool | pixelOK (VxdID id, unsigned int uid, unsigned int vid) const |
Check whether a pixel on a given sensor is OK or not. More... | |
bool | pixelDead (VxdID id, unsigned int uid, unsigned int vid) const |
Check whether a pixel on a given sensor is dead or not. More... | |
const PXDMaskedPixelPar & | getMaskedPixelParameters () const |
Return masked pixel payload. | |
const PXDDeadPixelPar & | getDeadPixelParameters () const |
Return dead pixel payload. | |
Static Public Member Functions | |
static PXDPixelMasker & | getInstance () |
Main (and only) way to access the PXDPixelMasker. | |
Private Member Functions | |
PXDPixelMasker () | |
Singleton class, hidden constructor. | |
PXDPixelMasker (const PXDPixelMasker &)=delete | |
Singleton class, forbidden copy constructor. | |
PXDPixelMasker & | operator= (const PXDPixelMasker &)=delete |
Singleton class, forbidden assignment operator. | |
Private Attributes | |
std::unique_ptr< DBObjPtr< PXDMaskedPixelPar > > | m_maskedPixelsFromDB |
Masked pixels retrieved from DB. | |
std::unique_ptr< DBObjPtr< PXDDeadPixelPar > > | m_deadPixelsFromDB |
Dead pixels retrieved from DB. | |
PXDMaskedPixelPar | m_maskedPixels |
List of masked pixels. | |
PXDDeadPixelPar | m_deadPixels |
List of masked pixels. | |
Singleton class for managing pixel masking for the PXD.
Definition at line 27 of file PXDPixelMasker.h.
void maskSinglePixel | ( | Belle2::VxdID | id, |
unsigned int | uid, | ||
unsigned int | vid | ||
) |
Mask single pixel.
id | VxdID of the required sensor |
uid | uCell of single pixel to mask |
vid | vCell of single pixel to mask |
Definition at line 42 of file PXDPixelMasker.cc.
bool pixelDead | ( | Belle2::VxdID | id, |
unsigned int | uid, | ||
unsigned int | vid | ||
) | const |
Check whether a pixel on a given sensor is dead or not.
id | VxdID of the sensor |
uid | uCell of single pixel |
vid | vCell of single pixel |
Definition at line 56 of file PXDPixelMasker.cc.
bool pixelOK | ( | Belle2::VxdID | id, |
unsigned int | uid, | ||
unsigned int | vid | ||
) | const |
Check whether a pixel on a given sensor is OK or not.
id | VxdID of the sensor |
uid | uCell of single pixel |
vid | vCell of single pixel |
Definition at line 50 of file PXDPixelMasker.cc.