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_FT0_CONSTANTS_
18#define ALICEO2_FT0_CONSTANTS_
19
20namespace o2
21{
22namespace ft0
23{
24
25struct Constants {
26 constexpr static std::size_t sNPM = 18; //Number of PMs
27 constexpr static std::size_t sNPM_LCS = 1; //Number of PM-LCSs
28 constexpr static std::size_t sNTCM = 1; //Number of TCMs
29 constexpr static std::size_t sNTOTAL_PM = sNPM + sNPM_LCS; //Total number of PMs(PM + PM_LCS)
30 constexpr static std::size_t sNTOTAL_FEE = sNPM + sNPM_LCS + sNTCM; //Total number of FEE modules
31
32 constexpr static std::size_t sNCHANNELS_PER_PM = 12; //Number of local channels per PM
33 constexpr static std::size_t sNCHANNELS_PM = sNPM * sNCHANNELS_PER_PM; //Number of PM(not LCS) channels
34 constexpr static std::size_t sNCHANNELS_PM_LCS = sNPM_LCS * sNCHANNELS_PER_PM; //Number of PM_LCS channels
35 constexpr static std::size_t sNTOTAL_CHANNELS_PM = sNCHANNELS_PM + sNCHANNELS_PM_LCS; //Total number of PM(+LCS) channels
36};
37
38} // namespace ft0
39} // namespace o2
40#endif
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static constexpr std::size_t sNTOTAL_PM
Definition Constants.h:29
static constexpr std::size_t sNCHANNELS_PM
Definition Constants.h:33
static constexpr std::size_t sNTOTAL_CHANNELS_PM
Definition Constants.h:35
static constexpr std::size_t sNCHANNELS_PM_LCS
Definition Constants.h:34
static constexpr std::size_t sNTOTAL_FEE
Definition Constants.h:30
static constexpr std::size_t sNTCM
Definition Constants.h:28
static constexpr std::size_t sNCHANNELS_PER_PM
Definition Constants.h:32
static constexpr std::size_t sNPM_LCS
Definition Constants.h:27
static constexpr std::size_t sNPM
Definition Constants.h:26