![]() |
Belle II Software
release-08-02-05
|
Singleton class for managing gain corrections for the PXD. More...
#include <PXDGainCalibrator.h>

Public Member Functions | |
| void | initialize () |
| Initialize the PXDGainCalibrator. | |
| void | setGains () |
| Set gains from DB. | |
| float | getGainCorrection (VxdID id, unsigned int uid, unsigned int vid) const |
| Get gain correction. More... | |
| float | getADUToEnergy (VxdID id, unsigned int uid, unsigned int vid) const |
| Get conversion factor from ADU to energy. More... | |
| unsigned short | getBinU (VxdID id, unsigned int uid, unsigned int vid) const |
| Get gain correction bin along sensor u side. More... | |
| unsigned short | getBinV (VxdID id, unsigned int vid) const |
| Get gain correction bin along sensor v side. More... | |
| unsigned short | getBinU (VxdID id, unsigned int uid, unsigned int vid, unsigned short nBinsU) const |
| Get gain correction bin along sensor u side. More... | |
| unsigned short | getBinV (VxdID id, unsigned int vid, unsigned short nBinsV) const |
| Get gain correction bin along v side. More... | |
| unsigned short | getGlobalID (VxdID id, unsigned int uid, unsigned int vid) const |
| Get global ID for gain correction on a sensor. More... | |
| const PXDGainMapPar & | getGainMapParameters () const |
| Return current gain correction payload. | |
Static Public Member Functions | |
| static PXDGainCalibrator & | getInstance () |
| Main (and only) way to access the PXDGainCalibrator. | |
Private Member Functions | |
| PXDGainCalibrator () | |
| Singleton class, hidden constructor. | |
| PXDGainCalibrator (const PXDGainCalibrator &)=delete | |
| Singleton class, forbidden copy constructor. | |
| PXDGainCalibrator & | operator= (const PXDGainCalibrator &)=delete |
| Singleton class, forbidden assignment operator. | |
Private Attributes | |
| std::unique_ptr< DBObjPtr< PXDGainMapPar > > | m_gainsFromDB |
| Masked pixels retrieved from DB. | |
| PXDGainMapPar | m_gains |
| Map of gain corrections. | |
Singleton class for managing gain corrections for the PXD.
Definition at line 26 of file PXDGainCalibrator.h.
| float getADUToEnergy | ( | Belle2::VxdID | id, |
| unsigned int | uid, | ||
| unsigned int | vid | ||
| ) | const |
Get conversion factor from ADU to energy.
| id | unique ID of the sensor |
| uid | uCell of single pixel |
| vid | vCell of single pixel |
Definition at line 43 of file PXDGainCalibrator.cc.
| unsigned short getBinU | ( | VxdID | id, |
| unsigned int | uid, | ||
| unsigned int | vid | ||
| ) | const |
Get gain correction bin along sensor u side.
| id | unique ID of the sensor |
| uid | uCell of single pixel |
| vid | vCell of single pixel |
Definition at line 60 of file PXDGainCalibrator.cc.
| unsigned short getBinU | ( | VxdID | id, |
| unsigned int | uid, | ||
| unsigned int | vid, | ||
| unsigned short | nBinsU | ||
| ) | const |
Get gain correction bin along sensor u side.
| id | unique ID of the sensor |
| uid | uCell of single pixel |
| vid | vCell of single pixel |
| nBinsU | number of gain bins along u side |
Definition at line 54 of file PXDGainCalibrator.cc.
| unsigned short getBinV | ( | VxdID | id, |
| unsigned int | vid | ||
| ) | const |
Get gain correction bin along sensor v side.
| id | unique ID of the sensor |
| vid | vCell of single pixel |
Definition at line 71 of file PXDGainCalibrator.cc.
| unsigned short getBinV | ( | VxdID | id, |
| unsigned int | vid, | ||
| unsigned short | nBinsV | ||
| ) | const |
Get gain correction bin along v side.
| id | unique ID of the sensor |
| vid | vCell of single pixel |
| nBinsV | number of gain bins along v side |
Definition at line 65 of file PXDGainCalibrator.cc.
| float getGainCorrection | ( | Belle2::VxdID | id, |
| unsigned int | uid, | ||
| unsigned int | vid | ||
| ) | const |
Get gain correction.
| id | unique ID of the sensor |
| uid | uCell of single pixel |
| vid | vCell of single pixel |
Definition at line 34 of file PXDGainCalibrator.cc.
| unsigned short getGlobalID | ( | VxdID | id, |
| unsigned int | uid, | ||
| unsigned int | vid | ||
| ) | const |
Get global ID for gain correction on a sensor.
| id | unique ID of the sensor |
| uid | uCell of single pixel |
| vid | vCell of single pixel |
Definition at line 76 of file PXDGainCalibrator.cc.