Project
Loading...
Searching...
No Matches
DCSConfigInfo.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_MFT_DCSCONFIGINFO_H
13#define O2_MFT_DCSCONFIGINFO_H
14
15#include <TString.h>
16#include <unordered_map>
17#include <iostream>
18
19namespace o2
20{
21namespace mft
22{
24{
25
26 public:
27 void clear()
28 {
29 mData = -999;
30 mAdd = -999;
31 mType = -999;
32 mVersion = "v0";
33 }
34 void setData(int val)
35 {
36 mData = val;
37 }
38 void setAdd(int val)
39 {
40 mAdd = val;
41 }
42 void setType(int val)
43 {
44 mType = val;
45 }
46 void setVersion(std::string str)
47 {
48 mVersion = str;
49 }
50
51 const int& getData() const
52 {
53 return mData;
54 }
55 const int& getAdd() const
56 {
57 return mAdd;
58 }
59 const int& getType() const
60 {
61 return mType;
62 }
63 const std::string& getVersion() const
64 {
65 return mVersion;
66 }
67
68 private:
69 int mData;
70 int mAdd;
71 int mType; // RU = 0, ALPIDE = 1, UBB = 2, DeadMap = 3
72 std::string mVersion;
73
74 ClassDefNV(DCSConfigInfo, 1);
75};
76} // namespace mft
77} // namespace o2
78
79#endif
void setVersion(std::string str)
const int & getData() const
const int & getType() const
const int & getAdd() const
const std::string & getVersion() const
GLuint GLfloat * val
Definition glcorearb.h:1582
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
const std::string str