![]() |
ATLAS Offline Software
|
Luminosity calibration data, produced by OnlineLumiCalibrationCondAlg. More...
#include <OnlineLumiCalibrationCondData.h>
Public Member Functions | |
| void | set (unsigned int channel, OnlineLumiCalibrator &&lc) |
| Store a calibration data object,. More... | |
| float | getMuToLumi (unsigned int channel) const |
| Return muToLumi parameter. More... | |
| bool | calibrateLumi (unsigned int channel, float raw, float &lumi) const |
| Luminosity calibration. More... | |
| bool | calibrateMu (unsigned int channel, float raw, float &mu) const |
| Mu calibration. More... | |
Private Member Functions | |
| const OnlineLumiCalibrator * | findLC (unsigned int channel) const |
| Look up calibration for a specific channel. More... | |
Private Attributes | |
| std::map< unsigned int, OnlineLumiCalibrator > | m_cali |
| Calibration storage by channel. More... | |
Luminosity calibration data, produced by OnlineLumiCalibrationCondAlg.
Definition at line 25 of file OnlineLumiCalibrationCondData.h.
| bool OnlineLumiCalibrationCondData::calibrateLumi | ( | unsigned int | channel, |
| float | raw, | ||
| float & | lumi | ||
| ) | const |
Luminosity calibration.
| channel | Calibration channel. |
| raw | Uncalibrated luminosity. @parma lumi[out] Calibrated luminosity. |
Returns false on error.
Definition at line 49 of file OnlineLumiCalibrationCondData.cxx.
| bool OnlineLumiCalibrationCondData::calibrateMu | ( | unsigned int | channel, |
| float | raw, | ||
| float & | mu | ||
| ) | const |
Mu calibration.
| channel | Calibration channel. |
| raw | Uncalibrated mu. @parma mu[out] Calibrated mu. |
Returns false on error.
Definition at line 68 of file OnlineLumiCalibrationCondData.cxx.
|
private |
Look up calibration for a specific channel.
| channel | Calibration channel. Returns nullptr if the channel was not found. |
Definition at line 85 of file OnlineLumiCalibrationCondData.cxx.
| float OnlineLumiCalibrationCondData::getMuToLumi | ( | unsigned int | channel | ) | const |
Return muToLumi parameter.
| channel | Calibration channel to retrieve. Returns -1 if channel doesn't exist |
Definition at line 32 of file OnlineLumiCalibrationCondData.cxx.
| void OnlineLumiCalibrationCondData::set | ( | unsigned int | channel, |
| OnlineLumiCalibrator && | lc | ||
| ) |
Store a calibration data object,.
| channel | Calibration channel to write. |
| lc | Calibration object to write. |
Definition at line 20 of file OnlineLumiCalibrationCondData.cxx.
|
private |
Calibration storage by channel.
Definition at line 76 of file OnlineLumiCalibrationCondData.h.
1.8.18