Project
Loading...
Searching...
No Matches
CalibParamZDC.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_ZDC_CALIBPARAMZDC_H
13#define O2_ZDC_CALIBPARAMZDC_H
14
17#include "ZDCBase/Constants.h"
18#include "CCDB/CcdbObjectInfo.h"
19#include <string>
20
24
25namespace o2
26{
27namespace zdc
28{
29struct CalibParamZDC : public o2::conf::ConfigurableParamHelper<CalibParamZDC> {
30 bool dumpCalib = false; // Dump partial calibration object
31 bool debugOutput = false; // Debug output
32 bool rootOutput = true; // Output histograms to EOS
33 std::string outputDir = "./"; // ROOT files output directory
34 std::string metaFileDir = "/dev/null"; // Metafile output directory
35 std::string descr; // Calibration description
36 uint32_t modTF = 0; // Number of TF cumulated before transmitting calibration data (0 transmit every timeframe)
37 uint64_t mCTimeMod = 0; // Integration time slot (0 = integrate all run)
38 int64_t eovTune = -o2::ccdb::CcdbObjectInfo::YEAR; // Tune end of validity of calibration object (eovTune>0 -> absolute, eovTune<0 increase by -eovTune)
40 void print() const;
41 O2ParamDef(CalibParamZDC, "CalibParamZDC");
42};
43} // namespace zdc
44} // namespace o2
45
46#endif
static constexpr long YEAR
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
int updateCcdbObjectInfo(o2::ccdb::CcdbObjectInfo &info) const
O2ParamDef(CalibParamZDC, "CalibParamZDC")