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
12#ifndef ALICEO2_FDD_CONSTANTS_H
13#define ALICEO2_FDD_CONSTANTS_H
14
16#include <cstdint>
17#include <string_view>
18#include <string>
19#include <type_traits>
20
21namespace o2
22{
23namespace fdd
24{
25constexpr short Nchannels = 16;
26constexpr short Nmodules = 2;
27constexpr short NChPerMod = 8;
28constexpr short Ntriggers = 5;
29constexpr float IntTimeRes = 0.4;
30constexpr float PhotoCathodeEfficiency = 0.18;
31constexpr float ChargePerADC = 0.6e-12;
32constexpr float invTimePerTDC = 1. / 0.01302; // time conversion from ns to TDC channels
33constexpr float timePerTDC = 0.01302; // time conversion from TDC channels to ns
34constexpr float PMTransitTime = 6.0; // PM response time (corresponds to 1.9 ns rise time)
35constexpr float PMTransparency = 0.25; // Transparency of the first dynode of the PM
36constexpr float PMNbOfSecElec = 6.0; // Number of secondary electrons emitted from first dynode (per ph.e.)
37
38constexpr int NTimeBinsPerBC = 256; // number of samples per BC
39
40} // namespace fdd
41} // namespace o2
42
43#endif
Header to collect physics constants.
constexpr float ChargePerADC
Definition Constants.h:31
constexpr float PMTransitTime
Definition Constants.h:34
constexpr float PMTransparency
Definition Constants.h:35
constexpr short Ntriggers
Definition Constants.h:28
constexpr float PMNbOfSecElec
Definition Constants.h:36
constexpr float invTimePerTDC
Definition Constants.h:32
constexpr float PhotoCathodeEfficiency
Definition Constants.h:30
constexpr short Nmodules
Definition Constants.h:26
constexpr short NChPerMod
Definition Constants.h:27
constexpr float IntTimeRes
Definition Constants.h:29
constexpr float timePerTDC
Definition Constants.h:33
constexpr int NTimeBinsPerBC
Definition Constants.h:38
constexpr short Nchannels
Definition Constants.h:25
struct o2::upgrades_utils::@459 fdd
Collision labels.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...