ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_RawCollectionHead.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_RAWCOLLECTIONHEAD_H
6#define AFP_RAWCOLLECTIONHEAD_H
7
8#include <stdint.h>
9
15{
16public:
18 uint16_t lvl1Id () const {return m_lvl1Id;}
19 void setLvl1Id (const uint16_t lvl1Id) {m_lvl1Id = lvl1Id;}
20
22 uint16_t link () const {return m_link;}
23 void setLink (const uint16_t link) {m_link = link;}
24
26 uint32_t frontendFlag () const {return m_frontendFlag;};
27 void setFrontendFlag (const uint32_t flag) {m_frontendFlag = flag;}
28
30 uint16_t bcId () const {return m_bcId;};
31 void setBcId (const uint16_t bcId) {m_bcId = bcId;}
32
34 uint32_t robId () const {return m_robId;}
35 void setRobId (const uint32_t robId) {m_robId = robId;}
36
37private:
42 uint16_t m_lvl1Id;
43
48 uint16_t m_link;
49
55
60 uint16_t m_bcId;
61
63 uint32_t m_robId;
64};
65
66#endif
67
Class represnting header record in bytestream.
void setLvl1Id(const uint16_t lvl1Id)
uint16_t m_bcId
Value of 10 least significant bits.
void setBcId(const uint16_t bcId)
uint32_t frontendFlag() const
Value of the 16 least significant bit.
void setLink(const uint16_t link)
uint16_t link() const
Value of 5-8 most significant bits.
uint16_t m_link
Value of 5-8 most significant bits.
uint16_t lvl1Id() const
Value of 11-15 least significant bits.
uint16_t m_lvl1Id
Value of 11-15 least significant bits.
void setFrontendFlag(const uint32_t flag)
uint16_t bcId() const
Value of 10 least significant bits.
void setRobId(const uint32_t robId)
uint32_t m_robId
ROB in from which the collection was read.
uint32_t robId() const
ROB in from which the collection was read.
uint32_t m_frontendFlag
Value of the 16 least significant bit.