![]() |
Belle II Software release-09-00-03
|
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. | |
| bool | pixelOK (VxdID id, unsigned int uid, unsigned int vid) const |
| Check whether a pixel on a given sensor is OK or not. | |
| bool | pixelDead (VxdID id, unsigned int uid, unsigned int vid) const |
| Check whether a pixel on a given sensor is dead or not. | |
| 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.
|
inlineprivate |
|
inline |
Return dead pixel payload.
Definition at line 72 of file PXDPixelMasker.h.
|
static |
Main (and only) way to access the PXDPixelMasker.
Definition at line 35 of file PXDPixelMasker.cc.
|
inline |
Return masked pixel payload.
Definition at line 69 of file PXDPixelMasker.h.
| void initialize | ( | ) |
Initialize the PXDPixelMasker.
Definition at line 17 of file PXDPixelMasker.cc.
| 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.
| void setDeadPixels | ( | ) |
Set dead pixels from DB.
Definition at line 81 of file PXDPixelMasker.cc.
| void setMaskedPixels | ( | ) |
Set masked pixels from DB.
Definition at line 76 of file PXDPixelMasker.cc.
|
private |
List of masked pixels.
Definition at line 93 of file PXDPixelMasker.h.
|
private |
Dead pixels retrieved from DB.
Definition at line 87 of file PXDPixelMasker.h.
|
private |
List of masked pixels.
Definition at line 90 of file PXDPixelMasker.h.
|
private |
Masked pixels retrieved from DB.
Definition at line 84 of file PXDPixelMasker.h.