17#include <TDirectory.h>
29 if (mConfig ==
nullptr) {
30 LOG(fatal) <<
"o2::zdc::WaveformCalib: missing configuration object";
43 if (opt.rootOutput ==
true) {
68 LOG(fatal) <<
"WaveformCalib::process adding inconsistent data mN cfg=" << mData.
mN <<
" vs data=" <<
data.mN <<
" mPeak cfg=" << mData.
mPeak <<
" vs data=" <<
data.mPeak;
80 LOGF(info,
"Finalizing WaveformCalibData object");
87 std::map<std::string, std::string> md;
88 md[
"config"] = mConfig->
desc;
91 if (starting >= 10000) {
92 starting = starting - 10000;
99 if (mSaveDebugHistos) {
ZDC calibration common parameters.
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
static std::string generateFileName(const std::string &inp)
void setStartValidityTimestamp(long start)
void setFileName(const std::string &nm)
void setPath(const std::string &path)
void setEndValidityTimestamp(long end)
void setObjectType(const std::string &tp)
void setMetaData(const std::map< std::string, std::string > &md)
static const CalibParamZDC & Instance()
const std::string CCDBPathWaveformCalib
static std::string getClassName(const T &obj)
get the class name of the object
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"