ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloUserHeader.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#include "L1CaloUserHeader.h"
7
8namespace LVL1BS {
9
10// Static constant definitions
11
13//const int L1CaloUserHeader::s_cpCmmBit;
26
27// Constructor
28
33
34// Test for valid header word
35
36bool L1CaloUserHeader::isValid(const uint32_t word)
37{
38 return ((word >> s_wordIdBit) & s_mask) == s_mask;
39}
40
41} // end namespace
uint32_t m_header
Packed Header.
static bool isValid(uint32_t word)
Test for valid header word.
static const uint32_t s_ppmLutMaskV2
bool m_version2
Version flag.
L1CaloUserHeader(uint32_t header=0xf0000001)
Constructor - default just sets word ID and number of header words.
static const uint32_t s_lowerBoundMask
static const uint32_t s_ppmFadcMaskV2
static const int s_ppmFadcBit
static const uint32_t s_mask
Field mask.
static const int s_ppmLutBit
static const int s_jepCmmBit
static const int s_ppmLutBitV2
static const int s_lowerBoundBit
static const int s_version1
Version 1 minor format version number.
uint32_t header() const
Return packed header.
static const int s_ppmFadcBitV2
static const int s_wordIdBit
setEventNumber uint32_t