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
20#include "GPUCommonDef.h"
21
22namespace o2
23{
24namespace tpc
25{
26namespace constants
27{
28
29// the number of sectors
30GPUglobalconstexpr() int MAXSECTOR = 36;
31
32// the number of global pad rows
33#if defined(GPUCA_STANDALONE) && defined(GPUCA_RUN2)
34GPUglobalconstexpr() int MAXGLOBALPADROW = 159; // Number of pad rows in Run 2, used for GPU TPC tests with Run 2 data
35#else
36GPUglobalconstexpr() int MAXGLOBALPADROW = 152; // Correct number of pad rows in Run 3
37#endif
38
39// number of LHC bunch crossings per TPC time bin (40 MHz / 5 MHz)
40GPUglobalconstexpr() int LHCBCPERTIMEBIN = 8;
41} // namespace constants
42} // namespace tpc
43} // namespace o2
44
45#endif
GPUglobalconstexpr() int MAXSECTOR
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...