ATLAS Offline Software
Loading...
Searching...
No Matches
SubBlockStatus.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_SUBBLOCKSTATUS_H
6#define TRIGT1CALOBYTESTREAM_SUBBLOCKSTATUS_H
7
8#include <cstdint>
9
10namespace LVL1BS {
11
19
21private:
22 uint32_t m_status;
23public:
25 SubBlockStatus(uint32_t status = 0x0);
26 uint8_t timeout() const;
27 uint8_t link() const;
28 uint8_t specific() const;
29 uint8_t fifo() const;
30 uint8_t bcn() const;
31 uint8_t protocol() const;
32 uint8_t parity() const;
33 uint8_t bcLowBits() const;
34
35 bool isPresent() const { return m_status != 0; }
36
37};
38
39
40
41} // end namespace
42
43#endif
uint8_t bcLowBits() const
SubBlockStatus(uint32_t status=0x0)
Constructor - default just sets word ID and number of header words.