Project
Loading...
Searching...
No Matches
CompressedTriggerData.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#ifndef ALICEO2_EMCAL_COMPRESSEDTRIGGERDATA_H
12#define ALICEO2_EMCAL_COMPRESSEDTRIGGERDATA_H
13
14#include <cstdint>
15#include <iosfwd>
16
17namespace o2::emcal
18{
19
24 uint8_t mTRUIndex;
25 uint8_t mTriggerTime;
26 bool mFired;
28};
29
34 uint8_t mTRUIndex;
36 uint8_t mTime;
37 uint16_t mADC;
38};
39
44 uint16_t mIndex;
45 uint16_t mTimesum;
46};
47
52std::ostream& operator<<(std::ostream& stream, const CompressedTRU& tru);
53
58std::ostream& operator<<(std::ostream& stream, const CompressedTriggerPatch& patch);
59
64std::ostream& operator<<(std::ostream& stream, const CompressedL0TimeSum& timesum);
65
66} // namespace o2::emcal
67
68#endif // ALICEO2_EMCAL_COMPRESSEDTRIGGERDATA_H
GLuint GLuint stream
Definition glcorearb.h:1806
std::ostream & operator<<(std::ostream &stream, const Cell &cell)
Stream operator for EMCAL cell.
Definition Cell.cxx:355
Compressed L0 timesum information.
uint16_t mIndex
Absolute ID of the FastOR.
uint16_t mTimesum
ADC value of the time-sum (4-integral)
Compressed reconstructed TRU information.
uint8_t mNumberOfPatches
Number of patches found for the TRU.
uint8_t mTriggerTime
Trigger time of the TRU.
bool mFired
Fired status of the TRU.
Compressed reconstructed L0 trigger patch information.
uint8_t mTime
Reconstructed time of the trigger patch.
uint8_t mTRUIndex
Index of the TRU where the trigger patch has been found.
uint16_t mADC
ADC sum of the trigger patch.
uint8_t mPatchIndexInTRU
Index of the trigger patch in the TRU.