12#ifndef ALICEO2_ITSMFTALPIDEPARAM_H_
13#define ALICEO2_ITSMFTALPIDEPARAM_H_
32 return N == o2::detectors::DetID::ITS ? 7 : 10;
37 return N == o2::detectors::DetID::ITS ? ParamName[0] : ParamName[1];
59 static constexpr std::string_view ParamName[2] = {
"ITSAlpideParam",
"MFTAlpideParam"};
61 static constexpr int DEFROFLengthBC()
65 return N == o2::detectors::DetID::ITS ? o2::constants::lhc::LHCMaxBunches / 4 : o2::constants::lhc::LHCMaxBunches / 18;
67 static constexpr float DEFROFLengthTrig()
70 return N == o2::detectors::DetID::ITS ? 6000. : 6000.;
73 static constexpr int DEFROFBiasInBC()
76 return N == o2::detectors::DetID::ITS ? 64 : 60;
79 static_assert(N == o2::detectors::DetID::ITS || N == o2::detectors::DetID::MFT,
"only DetID::ITS orDetID:: MFT are allowed");
83 "layers count mismatch between DPLAlpideParam and the composed cluster ID encoding of ClusterID.h");
84 static_assert(o2::constants::lhc::LHCMaxBunches % DEFROFLengthBC() == 0);
88DPLAlpideParam<N> DPLAlpideParam<N>::sInstance;
97struct is_messageable<
o2::itsmft::DPLAlpideParam<o2::detectors::DetID::ITS>> : std::true_type {
100struct is_messageable;
102struct is_messageable<
o2::itsmft::DPLAlpideParam<o2::detectors::DetID::MFT>> : std::true_type {
Composition/decomposition of the ITS/MFT cluster IDs referring to per-layer cluster arrays.
Header to collect LHC related constants.
GLenum GLuint GLint GLint layer
constexpr int MaxITSClusLayers
constexpr int MaxMFTClusLayers
constexpr float DEFStrobeDelay
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
int roFrameBiasInBC
bias of the start of ROF wrt orbit start: t_irof = (irof*roFrameLengthInBC + roFrameBiasInBC)*BClengt...
int roFrameLayerLengthInBC[getNLayers()]
staggering ROF length in BC for continuous mode per layer
float strobeDelay
strobe start (in ns) wrt ROF start
int roFrameLayerDelayInBC[getNLayers()]
staggering ROF delay in BC for continuous mode per layer
static constexpr std::string_view getParamName()
static constexpr int getNLayers()
int getROFLengthInBC(int layer) const noexcept
int roFrameLengthInBC
ROF length in BC for continuous mode.
float strobeLengthCont
if < 0, full ROF length - delay
int getROFDelayInBC(int layer) const noexcept
O2ParamDef(DPLAlpideParam, getParamName().data())
int roFrameLayerBiasInBC[getNLayers()]
staggering ROF bias in BC for continuous mode per layer
float strobeLengthTrig
length of the strobe in ns (sig. over threshold checked in this window only)
float roFrameLengthTrig
length of RO frame in ns for triggered mode
int getROFBiasInBC(int layer) const noexcept