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.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
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"