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
16namespace o2
17{
18
19namespace emcal
20{
21
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
32};
33
34} // namespace emcal
35} // namespace o2
36
37#endif // O2_EMCALBLOCKHEADER
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Header for EMCAL flagging the following EMCAL payload.
static constexpr const o2::header::HeaderType sHeaderType
EMCALBlockHeader(bool hasPayload)
bool mHasPayload
Field specifying whether the data block has payload.
static const uint32_t sVersion
the base header struct Every header type must begin (i.e. derive) with this. Don't use this struct di...
Definition DataHeader.h:351