ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_RawDataCommonHead.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_RAWDATACOMMONHEAD_H
6#define AFP_RAWDATACOMMONHEAD_H
7
8#include <stdint.h>
9
17{
18public:
20 uint16_t hitDiscConfig() const {return m_hitDiscConfig;};
22
23 uint16_t link() const {return m_link;};
24 void setLink(const uint16_t outlink) {m_link = outlink;}
25
26private:
33 uint16_t m_hitDiscConfig = 0;
34
39 uint16_t m_link = 0;
40};
41#endif
Base class representing first 8 bits in a record in bytestream.
void setLink(const uint16_t outlink)
uint16_t m_hitDiscConfig
Value of third and forth most significant bits.
uint16_t m_link
Values of the 5-8 most significant bits.
void setHitDiscConfig(const uint16_t hitDiscConfig)
uint16_t hitDiscConfig() const
Value of third and forth most significant bits.