-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathCommonSpec.h
More file actions
52 lines (44 loc) · 1.57 KB
/
CommonSpec.h
File metadata and controls
52 lines (44 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#ifndef QUALITYCONTROL_COMMONSPEC_H
#define QUALITYCONTROL_COMMONSPEC_H
///
/// \file CommonSpec.h
/// \author Piotr Konopka
///
#include <string>
#include <cstdint>
#include <unordered_map>
#include "QualityControl/LogDiscardParameters.h"
namespace o2::quality_control::core
{
struct CommonSpec {
CommonSpec() = default;
std::unordered_map<std::string, std::string> database;
int activityNumber{};
std::string activityType = "NONE";
std::string activityPeriodName;
std::string activityPassName;
std::string activityProvenance = "qc";
uint64_t activityStart = 0;
uint64_t activityEnd = -1;
std::string activityBeamType;
std::string activityPartitionName;
int activityFillNumber = 0;
std::string monitoringUrl = "infologger:///debug?qc";
std::string consulUrl;
std::string conditionDBUrl = "http://ccdb-test.cern.ch:8080";
LogDiscardParameters infologgerDiscardParameters;
double postprocessingPeriod = 30.0;
std::string bookkeepingUrl;
std::unordered_map<std::string, std::string> ctpScalersSourceRepo;
};
} // namespace o2::quality_control::core
#endif // QUALITYCONTROL_COMMONSPEC_H