Project
Loading...
Searching...
No Matches
Constants.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
16
17#ifndef AliceO2_TPC_Constants_H
18#define AliceO2_TPC_Constants_H
19
20namespace o2
21{
22namespace tpc
23{
24namespace constants
25{
26
27// the number of sectors
28constexpr int MAXSECTOR = 36;
29
30// the number of global pad rows
31#if defined(GPUCA_STANDALONE) && !defined(GPUCA_O2_LIB) && !defined(GPUCA_TPC_GEOMETRY_O2)
32constexpr int MAXGLOBALPADROW = 159; // Number of pad rows in Run 2, used for GPU TPC tests with Run 2 data
33#else
34constexpr int MAXGLOBALPADROW = 152; // Correct number of pad rows in Run 3
35#endif
36
37// number of LHC bunch crossings per TPC time bin (40 MHz / 5 MHz)
38constexpr int LHCBCPERTIMEBIN = 8;
39} // namespace constants
40} // namespace tpc
41} // namespace o2
42
43#endif
constexpr int LHCBCPERTIMEBIN
Definition Constants.h:38
constexpr int MAXSECTOR
Definition Constants.h:28
constexpr int MAXGLOBALPADROW
Definition Constants.h:34
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...