13#ifndef COOLLUMIUTILITIES_ONLINELUMICALIBRATIONCONDDATA_H
14#define COOLLUMIUTILITIES_ONLINELUMICALIBRATIONCONDDATA_H
52 bool calibrateLumi(
unsigned int channel,
float raw,
float& lumi)
const;
63 bool calibrateMu(
unsigned int channel,
float raw,
float& mu)
const;
76 std::map<unsigned int, OnlineLumiCalibrator>
m_cali;
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Luminosity calibration data, produced by OnlineLumiCalibrationCondAlg.
bool calibrateMu(unsigned int channel, float raw, float &mu) const
Mu calibration.
bool calibrateLumi(unsigned int channel, float raw, float &lumi) const
Luminosity calibration.
std::map< unsigned int, OnlineLumiCalibrator > m_cali
Calibration storage by channel.
void set(unsigned int channel, OnlineLumiCalibrator &&lc)
Store a calibration data object,.
const OnlineLumiCalibrator * findLC(unsigned int channel) const
Look up calibration for a specific channel.
float getMuToLumi(unsigned int channel) const
Return muToLumi parameter.
Utility class to apply calibrations from /TDAQ/OLC/CALIBRATIONS folder.