ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcUserHeader.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
16
17// Static constant definitions
18
19//const int ZdcUserHeader::s_jepCmmBit;
20//const int ZdcUserHeader::s_cpCmmBit;
21//const int ZdcUserHeader::s_jemBit;
22//const int ZdcUserHeader::s_cpmBit;
33
34// Constructor
35
40
41// Test for valid header word
42
43bool ZdcUserHeader::isValid(const uint32_t word)
44{
45 return ((word >> s_wordIdBit) & s_mask) == s_mask;
46}
47
static const int s_ppmLutBit
ZdcUserHeader.
static const uint32_t s_lowerBoundMask
static const int s_ppmLutBitV2
static const int s_wordIdBit
static bool isValid(uint32_t word)
Test for valid header word.
static const uint32_t s_ppmFadcMaskV2
static const int s_lowerBoundBit
static const int s_ppmFadcBitV2
uint32_t header() const
Return packed header.
static const int s_version1
Version 1 minor format version number.
static const uint32_t s_mask
Field mask.
bool m_version2
Version flag.
static const uint32_t s_ppmLutMaskV2
static const int s_ppmFadcBit
ZdcUserHeader(uint32_t header=0xf0000001)
Constructor - default just sets word ID and number of header words.
uint32_t m_header
Packed Header.
setEventNumber uint32_t