12#ifndef O2_CALIBRATION_PHOSPEDESTALS_CALIBRATOR_H
13#define O2_CALIBRATION_PHOSPEDESTALS_CALIBRATOR_H
50 bool mUseCCDB =
false;
51 bool mForceUpdate =
false;
52 bool mUpdateCCDB =
true;
53 static constexpr short kMinorChange = 10;
54 long mRunStartTime = 0;
55 int mStatistics = 1000;
56 std::unique_ptr<Pedestals> mPedestals;
57 std::unique_ptr<const Pedestals> mOldPed;
58 std::unique_ptr<TH2F> mMeanHG;
59 std::unique_ptr<TH2F> mMeanLG;
60 std::unique_ptr<TH2F> mRMSHG;
61 std::unique_ptr<TH2F> mRMSLG;
62 std::array<short, 2 * o2::phos::Mapping::NCHANNELS + 1> mPedDiff;
void sendOutput(DataAllocator &output)
void calculatePedestals()
void run(o2::framework::ProcessingContext &pc) final
PHOSPedestalCalibDevice(bool useCCDB, bool forceUpdate)
void init(o2::framework::InitContext &ic) final
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
Defining PrimaryVertex explicitly as messageable.
o2::framework::DataProcessorSpec getPedestalCalibSpec(bool useCCDB, bool forceUpdate)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...