11 #include <framework/logging/Logger.h>
34 void setCalibVector(
const std::vector<float>& CalibConst,
const std::vector<float>& CalibConstUnc)
36 if (CalibConst.size() != 8736 || CalibConstUnc.size() != 8736) {B2FATAL(
"ECLCrystalCalib: wrong size vector uploaded, " << CalibConst.size() <<
" " << CalibConstUnc.size() <<
" instead of 8736");}
General DB object to store one calibration number per ECL crystal.
ECLCrystalCalib()
Constructor.
const std::vector< float > & getCalibUncVector() const
Get vector of uncertainties on calibration constants.
const std::vector< float > & getCalibVector() const
Get vector of calibration constants.
std::vector< float > m_CalibConst
Calibration constants.
ClassDef(ECLCrystalCalib, 1)
ClassDef.
void setCalibVector(const std::vector< float > &CalibConst, const std::vector< float > &CalibConstUnc)
Set vector of constants with uncertainties.
std::vector< float > m_CalibConstUnc
Uncertainty on constants.
Abstract base class for different kinds of events.