17#ifndef O2_MID_CHANNELCALIBRATOR_H
18#define O2_MID_CHANNELCALIBRATOR_H
41 void fill(
const gsl::span<const ColumnData>
data);
88 const std::vector<ColumnData>&
getBadChannels()
const {
return mBadChannels; }
95 std::vector<ColumnData> mBadChannels{};
96 double mThreshold = 0.9;
97 double mTimeOrTriggers = 0;
99 ClassDefOverride(ChannelCalibrator, 1);
const ChannelScalers & getScalers()
Gets the channel scalers.
void fill(const gsl::span< const ColumnData > data)
void merge(const CalibData *prev)
void print()
Prints scalers.
Slot & emplaceNewSlot(bool front, TFType tstart, TFType tend) final
void initOutput() final
Initialize the output.
void finalizeSlot(Slot &slot) final
bool hasEnoughData(const Slot &slot) const final
void setThreshold(double threshold)
const std::vector< ColumnData > & getBadChannels() const
Returns the bad channels.
void addTimeOrTriggers(double timeOrTriggers)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...