12#ifndef O2_MCH_CALIBRATION_PEDESTAL_CALIBRATION_DEVICE_H
13#define O2_MCH_CALIBRATION_PEDESTAL_CALIBRATION_DEVICE_H
24class EndOfStreamContext;
25class ProcessingContext;
56 std::unique_ptr<o2::mch::calibration::BadChannelCalibrator> mCalibrator;
57 std::shared_ptr<o2::base::GRPGeomRequest> mCCDBRequest;
60 bool mHasEnoughStat = {
false};
62 bool mSkipData = {
false};
64 int mLoggingInterval = {0};
MCH calibrator to produce a bad channel map, using pedestal data.
Helper for geometry and GRP related CCDB requests.
DPL device to compute MCH Bad Channel Map.
void init(o2::framework::InitContext &ic) final
void run(o2::framework::ProcessingContext &pc) final
BadChannelCalibrationDevice(std::shared_ptr< o2::base::GRPGeomRequest > req)
void logStats(size_t dataSize)
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
Defining PrimaryVertex explicitly as messageable.