12#ifndef FV0_CALIB_COLLECTOR_H_
13#define FV0_CALIB_COLLECTOR_H_
46 void fill(
const gsl::span<const o2::fv0::FV0CalibrationInfoObject>
data);
55 std::array<int, NCHANNELS> mEntriesSlot{};
56 std::vector<o2::fv0::FV0CalibrationInfoObject> mFV0CollectedCalibInfoSlot;
68 FV0CalibCollector(
bool TFsendingPolicy,
int maxNumOfHits,
bool test =
false) : mTFsendingPolicy(TFsendingPolicy), mMaxNumOfHits(maxNumOfHits), mTest(
test){};
82 bool mTFsendingPolicy =
false;
83 int mMaxNumOfHits = 1000000;
85 bool mAbsMaxNumOfHits =
true;
86 std::array<int, NCHANNELS> mEntries{};
87 std::vector<o2::fv0::FV0CalibrationInfoObject> mFV0CollectedCalibInfo;
89 ClassDefOverride(FV0CalibCollector, 1);
General constants in FV0.
void finalizeSlot(Slot &slot) final
auto & getEntriesPerChannel() const
void setIsMaxNumberOfHitsAbsolute(bool absNumber)
FV0CalibCollector(bool TFsendingPolicy, int maxNumOfHits, bool test=false)
bool hasEnoughData(const Slot &slot) const final
~FV0CalibCollector() final=default
Slot & emplaceNewSlot(bool front, TFType tstart, TFType tend) final
void setIsTest(bool istest)
auto & getCollectedCalibInfo() const
auto & getEntriesPerChannel() const
~FV0CalibInfoSlot()=default
void merge(const FV0CalibInfoSlot *prev)
static constexpr int NCHANNELS
auto & getCollectedCalibInfoSlot() const
auto & getEntriesPerChannel()
void fill(const gsl::span< const o2::fv0::FV0CalibrationInfoObject > data)
void printEntries() const
static constexpr int HISTO_RANGE
auto & getCollectedCalibInfoSlot()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
FIXME: do not use data model tables.
static constexpr int nFv0Channels