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_CPV_CTF_H
17
#define O2_CPV_CTF_H
18
19
#include <vector>
20
#include <Rtypes.h>
21
#include "
DetectorsCommonDataFormats/EncodedBlocks.h
"
22
#include "
DataFormatsCPV/TriggerRecord.h
"
23
#include "
DataFormatsCPV/Cluster.h
"
24
25
namespace
o2
26
{
27
namespace
cpv
28
{
29
31
struct
CTFHeader
:
public
o2::ctf::CTFDictHeader
{
32
uint32_t
nTriggers
= 0;
33
uint32_t
nClusters
= 0;
34
uint32_t
firstOrbit
= 0;
35
uint16_t
firstBC
= 0;
36
37
ClassDefNV
(
CTFHeader
, 2);
38
};
39
41
struct
CTF
:
public
o2::ctf::EncodedBlocks
<CTFHeader, 7, uint32_t> {
42
43
static
constexpr
size_t
N
=
getNBlocks
();
44
enum
Slots
{
BLC_bcIncTrig
,
45
BLC_orbitIncTrig
,
46
BLC_entriesTrig
,
47
BLC_posX
,
48
BLC_posZ
,
49
BLC_energy
,
50
BLC_status
51
};
52
ClassDefNV
(
CTF
, 1);
53
};
54
55
}
// namespace cpv
56
}
// namespace o2
57
58
#endif
TriggerRecord.h
Cluster.h
EncodedBlocks.h
o2::ctf::EncodedBlocks
<<======================== Auxiliary classes =======================<<
Definition
EncodedBlocks.h:335
o2::ctf::EncodedBlocks< CTFHeader, 7, uint32_t >::getNBlocks
static constexpr int getNBlocks()
Definition
EncodedBlocks.h:435
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::cpv::CTFHeader
Header for a single CTF.
Definition
CTF.h:31
o2::cpv::CTFHeader::firstOrbit
uint32_t firstOrbit
number of referred cells
Definition
CTF.h:34
o2::cpv::CTFHeader::nTriggers
uint32_t nTriggers
Definition
CTF.h:32
o2::cpv::CTFHeader::ClassDefNV
ClassDefNV(CTFHeader, 2)
bc of 1st trigger
o2::cpv::CTFHeader::nClusters
uint32_t nClusters
number of triggers
Definition
CTF.h:33
o2::cpv::CTFHeader::firstBC
uint16_t firstBC
orbit of 1st trigger
Definition
CTF.h:35
o2::cpv::CTF
wrapper for the Entropy-encoded triggers and cells of the TF
Definition
CTF.h:41
o2::cpv::CTF::N
static constexpr size_t N
Definition
CTF.h:43
o2::cpv::CTF::ClassDefNV
ClassDefNV(CTF, 1)
o2::cpv::CTF::Slots
Slots
Definition
CTF.h:44
o2::cpv::CTF::BLC_entriesTrig
@ BLC_entriesTrig
Definition
CTF.h:46
o2::cpv::CTF::BLC_bcIncTrig
@ BLC_bcIncTrig
Definition
CTF.h:44
o2::cpv::CTF::BLC_status
@ BLC_status
Definition
CTF.h:50
o2::cpv::CTF::BLC_posX
@ BLC_posX
Definition
CTF.h:47
o2::cpv::CTF::BLC_orbitIncTrig
@ BLC_orbitIncTrig
Definition
CTF.h:45
o2::cpv::CTF::BLC_energy
@ BLC_energy
Definition
CTF.h:49
o2::cpv::CTF::BLC_posZ
@ BLC_posZ
Definition
CTF.h:48
o2::ctf::CTFDictHeader
Detector header base.
Definition
CTFDictHeader.h:29
DataFormats
Detectors
CPV
include
DataFormatsCPV
CTF.h
Generated on Tue Feb 25 2025 17:02:52 for Project by
1.9.8