ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
AFP_RawDataCommonHead Class Reference

Base class representing first 8 bits in a record in bytestream. More...

#include <AFP_RawDataCommonHead.h>

Inheritance diagram for AFP_RawDataCommonHead:
Collaboration diagram for AFP_RawDataCommonHead:

Public Member Functions

uint16_t hitDiscConfig () const
 Value of third and forth most significant bits. More...
 
void setHitDiscConfig (const uint16_t hitDiscConfig)
 
uint16_t link () const
 
void setLink (const uint16_t outlink)
 

Private Attributes

uint16_t m_hitDiscConfig = 0
 Value of third and forth most significant bits. More...
 
uint16_t m_link = 0
 Values of the 5-8 most significant bits. More...
 

Detailed Description

Base class representing first 8 bits in a record in bytestream.

The class is meant to be used as a base for classes representing records in AFP bytestream. The format of the bytestream is documented in presentation: https://indico.cern.ch/login/?next=%2Fevent%2F493415%2Fcontributions%2F1172054%2Fattachments%2F1222236%2F1787442%2Fbytestream.pdf

Definition at line 16 of file AFP_RawDataCommonHead.h.

Member Function Documentation

◆ hitDiscConfig()

uint16_t AFP_RawDataCommonHead::hitDiscConfig ( ) const
inline

Value of third and forth most significant bits.

In the following record: xxdd xxxx xxxx xxxx xxxx xxxx xxxx xxxx it means bits marked with d.

  • values 0-2 are used by silicon detectors
  • value 3 represent time-of-flight detector

Definition at line 20 of file AFP_RawDataCommonHead.h.

20 {return m_hitDiscConfig;};

◆ link()

uint16_t AFP_RawDataCommonHead::link ( ) const
inline

Definition at line 23 of file AFP_RawDataCommonHead.h.

23 {return m_link;};

◆ setHitDiscConfig()

void AFP_RawDataCommonHead::setHitDiscConfig ( const uint16_t  hitDiscConfig)
inline

Definition at line 21 of file AFP_RawDataCommonHead.h.

◆ setLink()

void AFP_RawDataCommonHead::setLink ( const uint16_t  outlink)
inline

Definition at line 24 of file AFP_RawDataCommonHead.h.

24 {m_link = outlink;}

Member Data Documentation

◆ m_hitDiscConfig

uint16_t AFP_RawDataCommonHead::m_hitDiscConfig = 0
private

Value of third and forth most significant bits.

In the following record: xxdd xxxx xxxx xxxx xxxx xxxx xxxx xxxx it means bits marked with d.

  • values 0-2 are used by silicon detectors
  • value 3 represent time-of-flight detector

Definition at line 33 of file AFP_RawDataCommonHead.h.

◆ m_link

uint16_t AFP_RawDataCommonHead::m_link = 0
private

Values of the 5-8 most significant bits.

In the following record: xxxx LLLL xxxx xxxx xxxx xxxx xxxx xxxx it means bits marked with L.

Definition at line 39 of file AFP_RawDataCommonHead.h.


The documentation for this class was generated from the following file:
AFP_RawDataCommonHead::m_hitDiscConfig
uint16_t m_hitDiscConfig
Value of third and forth most significant bits.
Definition: AFP_RawDataCommonHead.h:33
AFP_RawDataCommonHead::m_link
uint16_t m_link
Values of the 5-8 most significant bits.
Definition: AFP_RawDataCommonHead.h:39
AFP_RawDataCommonHead::hitDiscConfig
uint16_t hitDiscConfig() const
Value of third and forth most significant bits.
Definition: AFP_RawDataCommonHead.h:20