Project
Loading...
Searching...
No Matches
Triggers.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
15
16#ifndef ALICEO2_COMMON_CONSTANTS_TRIGGERS_H
17#define ALICEO2_COMMON_CONSTANTS_TRIGGERS_H
18
19#include <cstdint>
20
21namespace o2
22{
23namespace trigger
24{
25
26constexpr uint32_t ORBIT = 0x1 << 0; // Orbit
27constexpr uint32_t HB = 0x1 << 1; // Heart Beat flag
28constexpr uint32_t HBr = 0x1 << 2; // Heart Beat reject flag
29constexpr uint32_t HC = 0x1 << 3; // Health Check
30constexpr uint32_t PhT = 0x1 << 4; // Physics Trigger
31constexpr uint32_t PP = 0x1 << 5; // Pre Pulse for calibration
32constexpr uint32_t Cal = 0x1 << 6; // Calibration trigger
33constexpr uint32_t SOT = 0x1 << 7; // Start of Triggered Data
34constexpr uint32_t EOT = 0x1 << 8; // End of Triggered Data
35constexpr uint32_t SOC = 0x1 << 9; // Start of Continuous Data
36constexpr uint32_t EOC = 0x1 << 10; // End of Continuous Data
37constexpr uint32_t TF = 0x1 << 11; // Time Frame delimiter
38// 17 bits currently unused // Spare
39constexpr uint32_t TPC = 0x1 << 29; // TPC syncTPC synchronisation
40constexpr uint32_t TPCrst = 0x1 << 30; // TPC reset
41constexpr uint32_t TOF = 0x1 << 31; // TOF special trigger
42} // namespace trigger
43} // namespace o2
44
45#endif
constexpr uint32_t EOT
Definition Triggers.h:34
constexpr uint32_t TPC
Definition Triggers.h:39
constexpr uint32_t TPCrst
Definition Triggers.h:40
constexpr uint32_t PhT
Definition Triggers.h:30
constexpr uint32_t SOT
Definition Triggers.h:33
constexpr uint32_t PP
Definition Triggers.h:31
constexpr uint32_t HBr
Definition Triggers.h:28
constexpr uint32_t ORBIT
Definition Triggers.h:26
constexpr uint32_t EOC
Definition Triggers.h:36
constexpr uint32_t HC
Definition Triggers.h:29
constexpr uint32_t SOC
Definition Triggers.h:35
constexpr uint32_t Cal
Definition Triggers.h:32
constexpr uint32_t TOF
Definition Triggers.h:41
constexpr uint32_t HB
Definition Triggers.h:27
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...