ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcCaloUserHeader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGT1CALOBYTESTREAM_ZDCCALOUSERHEADER_H
6#define TRIGT1CALOBYTESTREAM_ZDCCALOUSERHEADER_H
7
8#include <cstdint>
9
10
11//namespace LVL1BS {
12
20
21
23private:
24 uint32_t m_header;
25
26public:
27
29 ZdcCaloUserHeader(uint32_t header = 0xf0000001);
30 uint8_t length() const;
31 uint8_t ppFadc() const;
32 uint8_t lut() const;
33 uint8_t cp() const;
34 uint8_t jep() const;
35 uint8_t ppLowerBound() const;
36
37 bool isValid() const;
38
39 static bool isValid(uint32_t word);
40};
41
42
43
44//} // end namespace
45
46#endif
uint8_t ppFadc() const
ZdcCaloUserHeader(uint32_t header=0xf0000001)
Constructor - default just sets word ID and number of header words.
uint8_t ppLowerBound() const
uint8_t length() const