28 mccdbInfoVector.clear();
29 mDiagnosticVector.clear();
46 LOG(info) <<
"Finalizing slot";
48 std::map<std::string, std::string> md;
49 if (mRunNumber > -1) {
58 mccdbInfoVector.emplace_back(
"TOF/Calib/Diagnostic", clName, flName, md, startingMS, stoppingMS);
59 mDiagnosticVector.emplace_back(*diag);
66 auto& slot = front ? cont.emplace_front(tstart, tend) : cont.emplace_back(tstart, tend);
67 slot.setContainer(std::make_unique<Diagnostic>());
Utils and constants for calibration and related workflows.
long getStartTimeMS() const
long getEndTimeMS() const
const Container * getContainer() const
static std::string generateFileName(const std::string &inp)
Diagnostic class for TOF.
uint32_t getFrequencyROW() const
void print(bool longFormat=false) const
Slot & emplaceNewSlot(bool front, TFType tstart, TFType tend) final
void finalizeSlot(Slot &slot) final
bool hasEnoughData(const Slot &slot) const final
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string to_string(gsl::span< T, Size > span)
static std::string getClassName(const T &obj)
get the class name of the object
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"