12#ifndef O2_CALIBRATION_PHOSHGLGRATIO_CALIBRATOR_H
13#define O2_CALIBRATION_PHOSHGLGRATIO_CALIBRATOR_H
57 bool mUseCCDB =
false;
58 bool mForceUpdate =
false;
59 bool mUpdateCCDB =
true;
60 static constexpr short kMinorChange = 10;
61 long mRunStartTime = 0;
62 std::unique_ptr<CalibParams> mCalibParams;
63 std::unique_ptr<const CalibParams> mOldCalibParams;
64 int mStatistics = 100000;
66 short minimalStatistics = 100;
67 std::map<short, PairAmp> mMapPairs;
68 std::unique_ptr<TH2F> mhRatio;
69 std::array<float, o2::phos::Mapping::NCHANNELS + 1> mRatioDiff;
void run(o2::framework::ProcessingContext &pc) final
void init(o2::framework::InitContext &ic) final
void sendOutput(DataAllocator &output)
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
PHOSHGLGRatioCalibDevice(bool useCCDB, bool forceUpdate)
Defining PrimaryVertex explicitly as messageable.
DataProcessorSpec getHGLGRatioCalibSpec(bool useCCDB, bool forceUpdate)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...