40 mChannelScalers.
merge(prev->mChannelScalers);
45 std::cout << mChannelScalers;
65 auto& slot = front ? cont.emplace_front(tstart, tend) : cont.emplace_back(tstart, tend);
66 slot.setContainer(std::make_unique<CalibData>());
MID noise and dead channels calibrator.
Utils and constants for calibration and related workflows.
Function to produce the MID masks.
const Container * getContainer() const
TFType getTFStart() const
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 merge(const ChannelScalers &other)
Merges two counters.
void count(const ColumnData &patterns)
std::vector< ColumnData > makeBadChannels(const ChannelScalers &scalers, double timeOrTriggers, double threshold)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"