Project
Loading...
Searching...
No Matches
EMCALBlockHeader.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 O2_EMCALBLOCKHEADER
12
#define O2_EMCALBLOCKHEADER
13
14
#include "
Headers/DataHeader.h
"
15
16
namespace
o2
17
{
18
19
namespace
emcal
20
{
21
24
struct
EMCALBlockHeader
:
public
o2::header::BaseHeader
{
25
// Required to do the lookup
26
constexpr
static
const
o2::header::HeaderType
sHeaderType
=
"EMCBlkH"
;
27
static
const
uint32_t
sVersion
= 1;
28
29
EMCALBlockHeader
(
bool
hasPayload) :
BaseHeader
(sizeof(
EMCALBlockHeader
),
sHeaderType
,
o2
::header::gSerializationMethodNone,
sVersion
),
mHasPayload
(hasPayload) {}
30
31
bool
mHasPayload
;
32
};
33
34
}
// namespace emcal
35
}
// namespace o2
36
37
#endif
// O2_EMCALBLOCKHEADER
DataHeader.h
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::emcal::EMCALBlockHeader
Header for EMCAL flagging the following EMCAL payload.
Definition
EMCALBlockHeader.h:24
o2::emcal::EMCALBlockHeader::sHeaderType
static constexpr const o2::header::HeaderType sHeaderType
Definition
EMCALBlockHeader.h:26
o2::emcal::EMCALBlockHeader::EMCALBlockHeader
EMCALBlockHeader(bool hasPayload)
Definition
EMCALBlockHeader.h:29
o2::emcal::EMCALBlockHeader::mHasPayload
bool mHasPayload
Field specifying whether the data block has payload.
Definition
EMCALBlockHeader.h:31
o2::emcal::EMCALBlockHeader::sVersion
static const uint32_t sVersion
Definition
EMCALBlockHeader.h:27
o2::header::BaseHeader
the base header struct Every header type must begin (i.e. derive) with this. Don't use this struct di...
Definition
DataHeader.h:351
o2::header::Descriptor< gSizeHeaderDescriptionString >
DataFormats
Detectors
EMCAL
include
DataFormatsEMCAL
EMCALBlockHeader.h
Generated on Tue Feb 25 2025 17:02:51 for Project by
1.9.8