Belle II Software development
|
Class to store relative quantum efficiency of channels w.r.t initial one measured in PMT QA QE is expected to decrease during the experiment due to aging induced by acuumulated charge. More...
#include <TOPCalChannelRQE.h>
Public Types | |
enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 } |
Calibration status of a constant. More... | |
Public Member Functions | |
TOPCalChannelRQE () | |
Default constructor. | |
void | setRQE (int moduleID, unsigned channel, double relQE) |
Sets the relative QE for a single channel and switches status to calibrated. | |
void | setUnusable (int moduleID, unsigned channel) |
Switches calibration status to unusable to flag badly calibrated constant. | |
double | getRQE (int moduleID, unsigned channel) const |
Returns the relative QE for a single channel (1.0 if status is c_Default) | |
bool | isCalibrated (int moduleID, unsigned channel) const |
Returns calibration status. | |
bool | isDefault (int moduleID, unsigned channel) const |
Returns calibration status. | |
bool | isUnusable (int moduleID, unsigned channel) const |
Returns calibration status. | |
Private Types | |
enum | { c_numModules = 16 , c_numChannels = 512 } |
Sizes. More... | |
Private Member Functions | |
ClassDef (TOPCalChannelRQE, 1) | |
ClassDef. | |
Private Attributes | |
float | m_relQE [c_numModules][c_numChannels] = {{0.0}} |
relative quantum efficiency | |
EStatus | m_status [c_numModules][c_numChannels] = {{c_Default}} |
calibration status | |
Class to store relative quantum efficiency of channels w.r.t initial one measured in PMT QA QE is expected to decrease during the experiment due to aging induced by acuumulated charge.
Definition at line 24 of file TOPCalChannelRQE.h.
|
private |
Sizes.
Enumerator | |
---|---|
c_numModules | number of modules |
c_numChannels | number of channels per module |
Definition at line 149 of file TOPCalChannelRQE.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 30 of file TOPCalChannelRQE.h.
|
inline |
|
inline |
Returns the relative QE for a single channel (1.0 if status is c_Default)
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
Definition at line 87 of file TOPCalChannelRQE.h.
|
inline |
Returns calibration status.
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
Definition at line 108 of file TOPCalChannelRQE.h.
|
inline |
Returns calibration status.
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
Definition at line 122 of file TOPCalChannelRQE.h.
|
inline |
Returns calibration status.
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
Definition at line 136 of file TOPCalChannelRQE.h.
|
inline |
Sets the relative QE for a single channel and switches status to calibrated.
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
relQE | relative quantum efficiency w.r.t initial one (absolute value, not in %) |
Definition at line 47 of file TOPCalChannelRQE.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 67 of file TOPCalChannelRQE.h.
|
private |
relative quantum efficiency
Definition at line 155 of file TOPCalChannelRQE.h.
|
private |
calibration status
Definition at line 156 of file TOPCalChannelRQE.h.