25#include <ecl/dataobjects/ECLElementNumbers.h>
28#include <framework/logging/Logger.h>
54 if (refCrystals.size() != 52) {B2FATAL(
"ECLReferenceCrystalPerCrateCalib: wrong size vector uploaded, " << refCrystals.size() <<
" instead of 52 (one crystal per crate)");}
55 for (
int i = 0; i < 52; i++) {
56 if ((refCrystals[i] < 1) ||
59 "ECLReferenceCrystalPerCrateCalib: cell id outside valid range from 1 to "
61 " has reference cid = " << refCrystals[i]);
General DB object to store one reference crystal per per ECL crate for calibration purposes.
const std::vector< short > & getReferenceCrystals() const
Get vector of calibration constants.
ClassDef(ECLReferenceCrystalPerCrateCalib, 3)
ClassDef.
ECLReferenceCrystalPerCrateCalib()
Constructor.
void setCalibVector(const std::vector< short > &refCrystals)
Set vector of constants with uncertainties.
std::vector< short > m_refCrystals
Calibration constants.
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.