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_HMP_CTF_H
17#define O2_HMP_CTF_H
18
19#include <vector>
20#include <Rtypes.h>
22
23namespace o2
24{
25namespace hmpid
26{
27
30 uint32_t nTriggers = 0;
31 uint32_t nDigits = 0;
32 uint32_t firstOrbit = 0;
33 uint16_t firstBC = 0;
34
36};
37
39struct CTF : public o2::ctf::EncodedBlocks<CTFHeader, 8, uint32_t> {
40
41 static constexpr size_t N = getNBlocks();
45 BLC_ChID, // digits sorted in ChamberID -> 1st entry of trigger keeps abs ChID, then increments
49 BLC_Y
50 };
52};
53
54} // namespace hmpid
55} // namespace o2
56
57#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
uint32_t nDigits
number of triggers
Definition CTF.h:31
uint32_t firstOrbit
number of digits
Definition CTF.h:32
uint16_t firstBC
orbit of 1st trigger
Definition CTF.h:33
uint32_t nTriggers
Definition CTF.h:30
ClassDefNV(CTFHeader, 2)
bc of 1st trigger
wrapper for the Entropy-encoded triggers and cells of the TF
Definition CTF.h:39
static constexpr size_t N
Definition CTF.h:41
@ BLC_orbitIncTrig
Definition CTF.h:43
@ BLC_bcIncTrig
Definition CTF.h:42
@ BLC_entriesDig
Definition CTF.h:44
ClassDefNV(CTF, 1)