Project
Loading...
Searching...
No Matches
ZDCConstants.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
14
16
17#ifndef ALICEO2_ZDCCONSTANTS_H_
18#define ALICEO2_ZDCCONSTANTS_H_
19
20namespace o2
21{
22namespace zdc
23{
24
25//< map detector/tower to continuous channel Id
26constexpr int IdDummy = -1;
27constexpr int IdVoid = -2;
28
29constexpr int IdZNAC = 0;
30constexpr int IdZNA1 = 1;
31constexpr int IdZNA2 = 2;
32constexpr int IdZNA3 = 3;
33constexpr int IdZNA4 = 4;
34constexpr int IdZNASum = 5;
35//
36constexpr int IdZPAC = 6;
37constexpr int IdZPA1 = 7;
38constexpr int IdZPA2 = 8;
39constexpr int IdZPA3 = 9;
40constexpr int IdZPA4 = 10;
41constexpr int IdZPASum = 11;
42//
43constexpr int IdZEM1 = 12;
44constexpr int IdZEM2 = 13;
45//
46constexpr int IdZNCC = 14;
47constexpr int IdZNC1 = 15;
48constexpr int IdZNC2 = 16;
49constexpr int IdZNC3 = 17;
50constexpr int IdZNC4 = 18;
51constexpr int IdZNCSum = 19;
52//
53constexpr int IdZPCC = 20;
54constexpr int IdZPC1 = 21;
55constexpr int IdZPC2 = 22;
56constexpr int IdZPC3 = 23;
57constexpr int IdZPC4 = 24;
58constexpr int IdZPCSum = 25;
59
60} // namespace zdc
61} // namespace o2
62
63#endif
constexpr int IdZNCSum
constexpr int IdZPC4
constexpr int IdZPA2
constexpr int IdZNA3
constexpr int IdZNA1
constexpr int IdZPA1
constexpr int IdZPCSum
constexpr int IdZNC2
constexpr int IdZEM1
constexpr int IdZNCC
constexpr int IdZPAC
constexpr int IdZPC2
constexpr int IdZPA4
constexpr int IdZNC1
constexpr int IdZNC3
constexpr int IdZPCC
constexpr int IdZPC1
constexpr int IdZPA3
constexpr int IdVoid
constexpr int IdZNC4
constexpr int IdZEM2
constexpr int IdZNA2
constexpr int IdZNASum
constexpr int IdDummy
constexpr int IdZPC3
constexpr int IdZNA4
constexpr int IdZNAC
constexpr int IdZPASum
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...