Project
Loading...
Searching...
No Matches
CTF.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 O2_CTP_CTF_H
17#define O2_CTP_CTF_H
18
19#include <vector>
20#include <Rtypes.h>
22
23namespace o2
24{
25namespace ctp
26{
27
30 uint64_t lumiCounts = 0;
31 uint64_t lumiCountsFV0 = 0;
32 uint32_t lumiNHBFs = 0;
33 uint32_t lumiNHBFsFV0 = 0;
34 uint32_t lumiOrbit = 0;
35 uint32_t nTriggers = 0;
36 uint32_t firstOrbit = 0;
37 uint16_t firstBC = 0;
38 uint16_t inp1 = 0;
39 uint16_t inp2 = 0;
40
42};
43
45struct CTF : public o2::ctf::EncodedBlocks<CTFHeader, 4, uint32_t> {
46
47 static constexpr size_t N = getNBlocks();
50 BLC_bytesInput, // bytes of the CTPInputMask bitset (6 bytes from lowest to highest)
51 BLC_bytesClass // bytes of the CTPClassMask bitset (8 bytes from lowest to highest)
52 };
54};
55
56} // namespace ctp
57} // namespace o2
58
59#endif
<<======================== Auxiliary classes =======================<<
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Detector header base.
Header for a single CTF.
Definition CTF.h:29
ClassDefNV(CTFHeader, 5)
lumiCountsFV0 input ID
uint16_t inp2
lumiCounts input ID
Definition CTF.h:39
uint64_t lumiCounts
Definition CTF.h:30
uint32_t firstOrbit
number of triggers
Definition CTF.h:36
uint16_t firstBC
orbit of 1st trigger
Definition CTF.h:37
uint64_t lumiCountsFV0
FT0 Luminosity counts moving average over lumiNHBFs orbits.
Definition CTF.h:31
uint32_t lumiOrbit
Number of FV0 HBFs over which lumi is integrated.
Definition CTF.h:34
uint32_t lumiNHBFs
FV0 Luminosity counts moving average over lumiNHBFs orbits.
Definition CTF.h:32
uint32_t lumiNHBFsFV0
Number of HBFs over which lumi is integrated.
Definition CTF.h:33
uint16_t inp1
bc of 1st trigger
Definition CTF.h:38
uint32_t nTriggers
1st orbit of TF where lumi was updated, can be compared with firstOrbit
Definition CTF.h:35
wrapper for the Entropy-encoded trigger inputs and classes of the TF
Definition CTF.h:45
ClassDefNV(CTF, 2)
@ BLC_bytesInput
Definition CTF.h:50
@ BLC_bytesClass
Definition CTF.h:51
@ BLC_bcIncTrig
Definition CTF.h:48
@ BLC_orbitIncTrig
Definition CTF.h:49
static constexpr size_t N
Definition CTF.h:47