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_ZDC_CTF_H
17#define O2_ZDC_CTF_H
18
19#include <vector>
20#include <Rtypes.h>
25
26namespace o2
27{
28namespace zdc
29{
30
39 std::array<uint16_t, NChannels> firstScaler{}; // inital scaler values
41};
42
44struct CTF : public o2::ctf::EncodedBlocks<CTFHeader, 12, uint32_t> {
45
46 static constexpr size_t N = getNBlocks();
50 BLC_channelsHL, // 32-bit channels pattern word split to 2 16-bit words stored as H, then L
51 BLC_triggersHL, // 32-bit trigger word split to 2 16-bit words stored as H, then L
54 //
57 //
61 };
63};
64
65} // namespace zdc
66} // namespace o2
67
68#endif
Class to describe fired triggered and/or stored channels for the BC and to refer to channel data.
unsigned short int uint16_t
Class to describe pedestal data accumulated over the orbit.
Container class to store NTimeBinsPerBC ADC values of single ZDC channel.
<<======================== Auxiliary classes =======================<<
struct o2::upgrades_utils::@482 zdc
structure to keep FT0 information
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:32
uint32_t nTriggers
Definition CTF.h:33
ClassDefNV(CTFHeader, 3)
uint32_t firstOrbitEOData
orbit of 1st trigger
Definition CTF.h:37
uint16_t firstBC
orbit of 1st end-of-orbit data
Definition CTF.h:38
uint32_t nEOData
number of referred channels
Definition CTF.h:35
uint32_t nChannels
number of triggers
Definition CTF.h:34
uint32_t firstOrbit
number of end-of-orbit data objects (pedestal + scalers)
Definition CTF.h:36
std::array< uint16_t, NChannels > firstScaler
bc of 1st trigger
Definition CTF.h:39
wrapper for the Entropy-encoded triggers and cells of the TF
Definition CTF.h:44
static constexpr size_t N
Definition CTF.h:46
ClassDefNV(CTF, 1)
@ BLC_bcIncTrig
Definition CTF.h:47
@ BLC_sclInc
Definition CTF.h:60
@ BLC_moduleTrig
Definition CTF.h:49
@ BLC_orbitIncTrig
Definition CTF.h:48
@ BLC_channelsHL
Definition CTF.h:50
@ BLC_triggersHL
Definition CTF.h:51
@ BLC_chanData
Definition CTF.h:56
@ BLC_pedData
Definition CTF.h:59
@ BLC_extTriggers
Definition CTF.h:52
@ BLC_orbitIncEOD
Definition CTF.h:58
@ BLC_chanID
Definition CTF.h:55
@ BLC_nchanTrig
Definition CTF.h:53