12#ifndef O2_CALIBRATION_CPVPEDESTALS_CALIBRATOR_H
13#define O2_CALIBRATION_CPVPEDESTALS_CALIBRATOR_H
51 bool mUseCCDB =
false;
52 bool mForceUpdate =
false;
53 bool mUpdateCCDB =
true;
54 std::string mPath{
"./"};
55 std::unique_ptr<Pedestals> mPedestals;
56 std::unique_ptr<TH2F> mMean;
57 std::array<short, o2::cpv::Geometry::kNCHANNELS> mPedDiff;
58 ClassDefNV(CPVPedestalCalibDevice, 1);
void init(o2::framework::InitContext &ic) final
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void run(o2::framework::ProcessingContext &pc) final
void sendOutput(DataAllocator &output)
void calculatePedestals()
CPVPedestalCalibDevice(bool useCCDB, bool forceUpdate, std::string path)
GLsizei const GLchar *const * path
o2::framework::DataProcessorSpec getPedestalCalibSpec(bool useCCDB, bool forceUpdate, std::string path)
Defining PrimaryVertex explicitly as messageable.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...