Project
Loading...
Searching...
No Matches
TriggerOffsetsParam.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_CTP_TRIGGER_OFFSETS_PARAM_H_
13
#define _ALICEO2_CTP_TRIGGER_OFFSETS_PARAM_H_
14
15
#include "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
19
20
namespace
o2
21
{
22
namespace
ctp
23
{
24
struct
TriggerOffsetsParam
:
public
o2::conf::ConfigurableParamHelper
<TriggerOffsetsParam> {
25
static
constexpr
int
MaxNDet
= 32;
// take with margin to account for possible changes / upgrades
26
int64_t
LM_L0
= 15;
27
int64_t
L0_L1
= 281;
// trigger input latency
28
int64_t
globalInputsShift
= 0;
// Global shift of inps; customOffset[CTP] is global shift of classes
29
int64_t
customOffset
[
MaxNDet
] = {};
30
int64_t
L0_L1_classes
= 280;
// trigger input latency
31
O2ParamDef
(
TriggerOffsetsParam
,
"TriggerOffsetsParam"
);
// boilerplate stuff + make principal key
32
};
33
}
// namespace ctp
34
35
namespace
framework
36
{
37
template
<
typename
T>
38
struct
is_messageable
;
39
template
<>
40
struct
is_messageable
<
o2
::
ctp::TriggerOffsetsParam
> : std::true_type {
41
};
42
}
// namespace framework
43
44
}
// namespace o2
45
46
#endif
// _ALICEO2_CTP_TRIGGER_OFFSETS_RARAM_H_
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
framework
Definition
BunchFilling.h:113
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::ctp::TriggerOffsetsParam
Definition
TriggerOffsetsParam.h:24
o2::ctp::TriggerOffsetsParam::LM_L0
int64_t LM_L0
Definition
TriggerOffsetsParam.h:26
o2::ctp::TriggerOffsetsParam::MaxNDet
static constexpr int MaxNDet
Definition
TriggerOffsetsParam.h:25
o2::ctp::TriggerOffsetsParam::globalInputsShift
int64_t globalInputsShift
Definition
TriggerOffsetsParam.h:28
o2::ctp::TriggerOffsetsParam::L0_L1_classes
int64_t L0_L1_classes
Definition
TriggerOffsetsParam.h:30
o2::ctp::TriggerOffsetsParam::O2ParamDef
O2ParamDef(TriggerOffsetsParam, "TriggerOffsetsParam")
o2::ctp::TriggerOffsetsParam::L0_L1
int64_t L0_L1
Definition
TriggerOffsetsParam.h:27
o2::ctp::TriggerOffsetsParam::customOffset
int64_t customOffset[MaxNDet]
Definition
TriggerOffsetsParam.h:29
o2::framework::is_messageable
Definition
TypeTraits.h:49
DataFormats
Detectors
CTP
include
DataFormatsCTP
TriggerOffsetsParam.h
Generated on Tue Feb 25 2025 17:02:51 for Project by
1.9.8