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_TPC_CTF_H
17#define O2_TPC_CTF_H
18
21
22namespace o2
23{
24namespace tpc
25{
26
28 enum : uint32_t { CombinedColumns = 0x1 };
29 uint32_t flags = 0;
30 uint32_t firstOrbitTrig = 0;
31 uint16_t nTriggers = 0;
33};
34
36struct CTF : public o2::ctf::EncodedBlocks<CTFHeader, 26, uint32_t> {
37
39
40 static constexpr size_t N = getNBlocks();
41 static constexpr int NBitsQTot = 16;
42 static constexpr int NBitsQMax = 10;
43 static constexpr int NBitsSigmaPad = 8;
44 static constexpr int NBitsSigmaTime = 8;
45 static constexpr int NBitsRowDiff = 8;
46 static constexpr int NBitsSliceLegDiff = 7;
47
49 BLCqMaxA, // can be combined with BLCqTotA
52 BLCsliceLegDiffA, // can be combined with BLCrowDiffA
56 BLCsigmaTimeA, // can be combined with BLCsigmaPadA
63 BLCqMaxU, // can be combined with BLCqTotU
68 BLCsigmaTimeU, // can be combined with BLCsigmaPadU
71 // trigger info
75 };
76
78};
79
80} // namespace tpc
81} // namespace o2
82
83#endif
Container to store compressed TPC cluster data.
<<======================== Auxiliary classes =======================<<
GLbitfield flags
Definition glcorearb.h:1570
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Detector header base.
uint16_t nTriggers
orbit of 1st trigger
Definition CTF.h:31
uint32_t firstOrbitTrig
Definition CTF.h:30
ClassDefNV(CTFHeader, 3)
number of triggers
wrapper for the Entropy-encoded clusters of the TF
Definition CTF.h:36
static constexpr int NBitsQTot
Definition CTF.h:41
static constexpr int NBitsSliceLegDiff
Definition CTF.h:46
static constexpr size_t N
Definition CTF.h:40
ClassDefNV(CTF, 4)
@ BLCflagsU
Definition CTF.h:64
@ BLCpadDiffU
Definition CTF.h:65
@ BLCsigmaTimeU
Definition CTF.h:68
@ BLCflagsA
Definition CTF.h:50
@ BLCqMaxA
Definition CTF.h:49
@ BLCtimeDiffU
Definition CTF.h:66
@ BLCqTotA
Definition CTF.h:48
@ BLCnSliceRowClusters
Definition CTF.h:70
@ BLCqTotU
Definition CTF.h:62
@ BLCsigmaPadU
Definition CTF.h:67
@ BLCsliceLegDiffA
Definition CTF.h:52
@ BLCtimeResA
Definition CTF.h:54
@ BLCqMaxU
Definition CTF.h:63
@ BLCsliceA
Definition CTF.h:59
@ BLCtimeA
Definition CTF.h:60
@ BLCpadResA
Definition CTF.h:53
@ BLCsigmaPadA
Definition CTF.h:55
@ BLCTrigBCInc
Definition CTF.h:73
@ BLCTrigType
Definition CTF.h:74
@ BLCrowDiffA
Definition CTF.h:51
@ BLCqPtA
Definition CTF.h:57
@ BLCpadA
Definition CTF.h:61
@ BLCnTrackClusters
Definition CTF.h:69
@ BLCsigmaTimeA
Definition CTF.h:56
@ BLCrowA
Definition CTF.h:58
@ BLCTrigOrbitInc
Definition CTF.h:72
static constexpr int NBitsSigmaPad
Definition CTF.h:43
static constexpr int NBitsQMax
Definition CTF.h:42
static constexpr int NBitsRowDiff
Definition CTF.h:45
static constexpr int NBitsSigmaTime
Definition CTF.h:44