ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1BS::SubBlockStatus Class Reference

L1Calo User Header class. More...

#include <SubBlockStatus.h>

Collaboration diagram for LVL1BS::SubBlockStatus:

Public Member Functions

 SubBlockStatus (uint32_t status=0x0)
 Constructor - default just sets word ID and number of header words.
uint8_t timeout () const
uint8_t link () const
uint8_t specific () const
uint8_t fifo () const
uint8_t bcn () const
uint8_t protocol () const
uint8_t parity () const
uint8_t bcLowBits () const
bool isPresent () const

Private Attributes

uint32_t m_status

Detailed Description

L1Calo User Header class.

The User Header is the first word of the ROD data and contains Triggered slice offsets for all the sub-detector types.

Author
alexa.nosp@m.nder.nosp@m..mazu.nosp@m.rov@.nosp@m.cern..nosp@m.ch

Definition at line 20 of file SubBlockStatus.h.

Constructor & Destructor Documentation

◆ SubBlockStatus()

SubBlockStatus::SubBlockStatus ( uint32_t status = 0x0)

Constructor - default just sets word ID and number of header words.

Definition at line 27 of file SubBlockStatus.cxx.

27 :
28 m_status(status){
29}

Member Function Documentation

◆ bcLowBits()

uint8_t SubBlockStatus::bcLowBits ( ) const

Definition at line 52 of file SubBlockStatus.cxx.

52 {
53 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 7);
54}

◆ bcn()

uint8_t SubBlockStatus::bcn ( ) const

Definition at line 43 of file SubBlockStatus.cxx.

43 {
44 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 4);
45}

◆ fifo()

uint8_t SubBlockStatus::fifo ( ) const

Definition at line 40 of file SubBlockStatus.cxx.

40 {
41 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 3);
42}

◆ isPresent()

bool LVL1BS::SubBlockStatus::isPresent ( ) const
inline

Definition at line 35 of file SubBlockStatus.h.

35{ return m_status != 0; }

◆ link()

uint8_t SubBlockStatus::link ( ) const

Definition at line 34 of file SubBlockStatus.cxx.

34 {
35 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 1);
36}

◆ parity()

uint8_t SubBlockStatus::parity ( ) const

Definition at line 49 of file SubBlockStatus.cxx.

49 {
50 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 6);
51}

◆ protocol()

uint8_t SubBlockStatus::protocol ( ) const

Definition at line 46 of file SubBlockStatus.cxx.

46 {
47 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 5);
48}

◆ specific()

uint8_t SubBlockStatus::specific ( ) const

Definition at line 37 of file SubBlockStatus.cxx.

37 {
38 return ::subBlockStatusDecoder.get<uint8_t>(m_status,2);
39}

◆ timeout()

uint8_t SubBlockStatus::timeout ( ) const

Definition at line 31 of file SubBlockStatus.cxx.

31 {
32 return ::subBlockStatusDecoder.get<uint8_t>(m_status, 0); }

Member Data Documentation

◆ m_status

uint32_t LVL1BS::SubBlockStatus::m_status
private

Definition at line 22 of file SubBlockStatus.h.


The documentation for this class was generated from the following files: