![]() |
Belle II Software
release-08-02-05
|
Pulse height parameterizations for all 512 channels of 16 modules. More...
#include <TOPCalChannelPulseHeight.h>


Public Types | |
| enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 } |
| Calibration status of a constant. More... | |
Public Member Functions | |
| TOPCalChannelPulseHeight () | |
| Default constructor. | |
| void | setParameters (int moduleID, unsigned channel, double x0, double p1, double p2) |
| Sets calibration for a single channel and switches status to calibrated. More... | |
| void | setUnusable (int moduleID, unsigned channel) |
| Switches calibration status to unusable to flag badly calibrated constant. More... | |
| const TOPPulseHeightPar & | getParameters (int moduleID, unsigned channel) const |
| Returns pulse height parameters for a given slot and channel. More... | |
| bool | isCalibrated (int moduleID, unsigned channel) const |
| Returns calibration status. More... | |
| bool | isDefault (int moduleID, unsigned channel) const |
| Returns calibration status. More... | |
| bool | isUnusable (int moduleID, unsigned channel) const |
| Returns calibration status. More... | |
Private Types | |
| enum | { c_numModules = 16 , c_numChannels = 512 } |
| Sizes. More... | |
Private Member Functions | |
| ClassDef (TOPCalChannelPulseHeight, 3) | |
| ClassDef. | |
Private Attributes | |
| TOPPulseHeightPar | m_par [c_numModules][c_numChannels] |
| calibration constants | |
| EStatus | m_status [c_numModules][c_numChannels] = {{c_Default}} |
| calibration status | |
Pulse height parameterizations for all 512 channels of 16 modules.
Parameterization is: P(x) = (x/x0)^p1 * exp(-(x/x0)^p2), x0 > 0, p1 >= 0, p2 > 0 From channel gain/efficiency calibration
Definition at line 26 of file TOPCalChannelPulseHeight.h.
|
private |
Sizes.
| Enumerator | |
|---|---|
| c_numModules | number of modules |
| c_numChannels | number of channels per module |
Definition at line 181 of file TOPCalChannelPulseHeight.h.
| enum EStatus |
Calibration status of a constant.
| Enumerator | |
|---|---|
| c_Default | uncalibrated default value |
| c_Calibrated | good calibrated value |
| c_Unusable | bad calibrated value |
Definition at line 32 of file TOPCalChannelPulseHeight.h.
|
inline |
Returns pulse height parameters for a given slot and channel.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
Definition at line 115 of file TOPCalChannelPulseHeight.h.
|
inline |
Returns calibration status.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
Definition at line 139 of file TOPCalChannelPulseHeight.h.
|
inline |
Returns calibration status.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
Definition at line 153 of file TOPCalChannelPulseHeight.h.
|
inline |
Returns calibration status.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
Definition at line 167 of file TOPCalChannelPulseHeight.h.
|
inline |
Sets calibration for a single channel and switches status to calibrated.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
| x0 | distribution parameter (x0 > 0) |
| p1 | distribution parameter (p1 >= 0) |
| p2 | distribution parameter (p2 > 0) |
Definition at line 52 of file TOPCalChannelPulseHeight.h.
|
inline |
Switches calibration status to unusable to flag badly calibrated constant.
| moduleID | module ID (1-based) |
| channel | hardware channel number (0-based) |
Definition at line 95 of file TOPCalChannelPulseHeight.h.