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;
94 uint64_t stopping = mData.
mCTimeEnd + 10000;
99 if (mSaveDebugHistos) {
ZDC calibration common parameters.
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"