22#include <ecl/dataobjects/ECLElementNumbers.h>
23#include <ecl/dbobjects/ECLCrystalCalib.h>
24#include <ecl/dbobjects/ECLReferenceCrystalPerCrateCalib.h>
27#include <calibration/CalibrationAlgorithm.h>
28#include <framework/database/DBObjPtr.h>
Base class for calibration algorithms.
EResult
The result of calibration.
Class for accessing objects in the database.
Calibrate ecl crystals using previously created payloads.
DBObjPtr< ECLCrystalCalib > m_ECLCrystalTimeOffsetBhabha
ECLCrystalTimeOffsetBhabha payload that we want to read from the DB.
DBObjPtr< ECLReferenceCrystalPerCrateCalib > m_ECLReferenceCrystalPerCrateCalib
ECLReferenceCrystalPerCrateCalib payload that we want to read from the DB.
static constexpr int m_numCrates
Number of Crates expected.
eclMergingCrystalTimingAlgorithm()
..Constructor
DBObjPtr< ECLCrystalCalib > m_ECLCrateTimeOffset
ECLCrateTimeOffset payload that we want to read from the DB.
static constexpr int m_numCrystals
Number of Crystals expected.
bool readPrevCrysPayload
< Read the previous crystal payload values for comparison
DBObjPtr< ECLCrystalCalib > m_ECLCrystalTimeOffsetCosmic
ECLCrystalTimeOffsetCosmic payload that we want to read from the DB.
DBObjPtr< ECLCrystalCalib > m_ECLCrystalTimeOffsetBhabhaGamma
ECLCrystalTimeOffsetBhabhaGamma payload that we want to read from the DB.
~eclMergingCrystalTimingAlgorithm()
..Destructor
EResult calibrate() override
..Run algorithm
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.