ATLAS Offline Software
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 
37  m_version2(true)
38 {
39 }
40 
41 // Test for valid header word
42 
44 {
45  return ((word >> s_wordIdBit) & s_mask) == s_mask;
46 }
47 
ZdcUserHeader::s_version1
static const int s_version1
Version 1 minor format version number.
Definition: ZdcUserHeader.h:73
ZdcUserHeader::s_lowerBoundMask
static const uint32_t s_lowerBoundMask
Definition: ZdcUserHeader.h:69
header
Definition: hcg.cxx:526
ZdcUserHeader::s_ppmFadcMaskV2
static const uint32_t s_ppmFadcMaskV2
Definition: ZdcUserHeader.h:71
ZdcUserHeader.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
ZdcUserHeader::s_mask
static const uint32_t s_mask
Field mask.
Definition: ZdcUserHeader.h:67
ZdcUserHeader::s_ppmFadcBit
static const int s_ppmFadcBit
Definition: ZdcUserHeader.h:61
ZdcUserHeader::s_ppmFadcBitV2
static const int s_ppmFadcBitV2
Definition: ZdcUserHeader.h:65
ZdcUserHeader::s_ppmLutBit
static const int s_ppmLutBit
ZdcUserHeader.
Definition: ZdcUserHeader.h:60
ZdcUserHeader::s_wordIdBit
static const int s_wordIdBit
Definition: ZdcUserHeader.h:59
ZdcUserHeader::isValid
static bool isValid(uint32_t word)
Test for valid header word.
Definition: ZdcUserHeader.cxx:43
ZdcUserHeader::s_lowerBoundBit
static const int s_lowerBoundBit
Definition: ZdcUserHeader.h:63
ZdcUserHeader::s_ppmLutBitV2
static const int s_ppmLutBitV2
Definition: ZdcUserHeader.h:64
ZdcUserHeader::ZdcUserHeader
ZdcUserHeader(uint32_t header=0xf0000001)
Constructor - default just sets word ID and number of header words.
Definition: ZdcUserHeader.cxx:36
ZdcUserHeader::s_ppmLutMaskV2
static const uint32_t s_ppmLutMaskV2
Definition: ZdcUserHeader.h:70