12#ifndef O2_CALIBRATION_CPVGAINS_CALIBRATOR_H
13#define O2_CALIBRATION_CPVGAINS_CALIBRATOR_H
36 explicit CPVGainCalibDevice(
bool useCCDB,
bool forceUpdate, std::string
path) : mUseCCDB(useCCDB), mForceUpdate(forceUpdate), mPath(
path) {}
49 static constexpr int kMinimalStatistics = 150;
51 bool mUseCCDB =
false;
52 bool mForceUpdate =
false;
53 bool mUpdateCCDB =
true;
55 std::string mPath{
"./"};
56 std::unique_ptr<CalibParams> mCalibParams;
57 std::unique_ptr<TH2F> mMean;
58 std::array<short, o2::cpv::Geometry::kNCHANNELS> mGainRatio;
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void sendOutput(DataAllocator &output)
CPVGainCalibDevice(bool useCCDB, bool forceUpdate, std::string path)
void run(o2::framework::ProcessingContext &pc) final
void init(o2::framework::InitContext &ic) final
GLsizei const GLchar *const * path
o2::framework::DataProcessorSpec getGainCalibSpec(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 ...