Project
Loading...
Searching...
No Matches
CPVBlockHeader.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_CPVBLOCKHEADER
12
#define O2_CPVBLOCKHEADER
13
14
#include "
Headers/DataHeader.h
"
15
16
namespace
o2
17
{
18
19
namespace
cpv
20
{
21
24
struct
CPVBlockHeader
:
public
o2::header::BaseHeader
{
25
// Required to do the lookup
26
constexpr
static
const
o2::header::HeaderType
sHeaderType
=
"CPVBlkH"
;
27
static
const
uint32_t
sVersion
= 1;
28
29
CPVBlockHeader
(
bool
hasPayload) :
BaseHeader
(sizeof(
CPVBlockHeader
),
sHeaderType
,
o2
::header::
gSerializationMethodNone
,
sVersion
),
mHasPayload
(hasPayload) {}
30
31
bool
mHasPayload
;
32
};
33
34
}
// namespace cpv
35
}
// namespace o2
36
37
#endif
// O2_CPVBLOCKHEADER
DataHeader.h
o2::header::gSerializationMethodNone
constexpr o2::header::SerializationMethod gSerializationMethodNone
Definition
DataHeader.h:327
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::cpv::CPVBlockHeader
Header for CPV flagging the following CPV payload.
Definition
CPVBlockHeader.h:24
o2::cpv::CPVBlockHeader::sHeaderType
static constexpr const o2::header::HeaderType sHeaderType
Definition
CPVBlockHeader.h:26
o2::cpv::CPVBlockHeader::mHasPayload
bool mHasPayload
Field specifying whether the data block has payload.
Definition
CPVBlockHeader.h:31
o2::cpv::CPVBlockHeader::CPVBlockHeader
CPVBlockHeader(bool hasPayload)
Definition
CPVBlockHeader.h:29
o2::cpv::CPVBlockHeader::sVersion
static const uint32_t sVersion
Definition
CPVBlockHeader.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
CPV
include
DataFormatsCPV
CPVBlockHeader.h
Generated on Tue Feb 25 2025 23:16:09 for Project by
1.9.8