ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_RawCollection< RAWDATA_T > Class Template Reference

Class representing collection of silicon detector data. More...

#include <AFP_RawCollection.h>

Inheritance diagram for AFP_RawCollection< RAWDATA_T >:
Collaboration diagram for AFP_RawCollection< RAWDATA_T >:

Public Member Functions

const std::list< RAWDATA_T > & dataRecords () const
std::list< RAWDATA_T >::iterator begin ()
 Returns iterators to the beginning and end of the list.
std::list< RAWDATA_T >::iterator end ()
RAWDATA_T & newDataRecord ()
 Creates a new empty data record in the collection and returns reference to it.
uint16_t lvl1Id () const
 Value of 11-15 least significant bits.
void setLvl1Id (const uint16_t lvl1Id)
uint16_t link () const
 Value of 5-8 most significant bits.
void setLink (const uint16_t link)
uint32_t frontendFlag () const
 Value of the 16 least significant bit.
void setFrontendFlag (const uint32_t flag)
uint16_t bcId () const
 Value of 10 least significant bits.
void setBcId (const uint16_t bcId)
uint32_t robId () const
 ROB in from which the collection was read.
void setRobId (const uint32_t robId)

Private Attributes

std::list< RAWDATA_T > m_dataRecords
 List of silicon detector data records.
uint16_t m_lvl1Id
 Value of 11-15 least significant bits.
uint16_t m_link
 Value of 5-8 most significant bits.
uint32_t m_frontendFlag
 Value of the 16 least significant bit.
uint16_t m_bcId
 Value of 10 least significant bits.
uint32_t m_robId
 ROB in from which the collection was read.

Detailed Description

template<typename RAWDATA_T>
class AFP_RawCollection< RAWDATA_T >

Class representing collection of silicon detector data.

Definition at line 13 of file AFP_RawCollection.h.

Member Function Documentation

◆ bcId()

uint16_t AFP_RawCollectionHead::bcId ( ) const
inlineinherited

Value of 10 least significant bits.

In the following record: xxxx xxxx xxxx xxxx xxxx xxBB BBBB BBBB it means bits marked with B. Contains information about bunch crossing ID.

Definition at line 30 of file AFP_RawCollectionHead.h.

30{return m_bcId;};
uint16_t m_bcId
Value of 10 least significant bits.

◆ begin()

template<typename RAWDATA_T>
std::list< RAWDATA_T >::iterator AFP_RawCollection< RAWDATA_T >::begin ( )
inline

Returns iterators to the beginning and end of the list.

Definition at line 20 of file AFP_RawCollection.h.

20{return m_dataRecords.begin();}
std::list< RAWDATA_T > m_dataRecords
List of silicon detector data records.

◆ dataRecords()

template<typename RAWDATA_T>
const std::list< RAWDATA_T > & AFP_RawCollection< RAWDATA_T >::dataRecords ( ) const
inline

Definition at line 17 of file AFP_RawCollection.h.

17{return m_dataRecords;}

◆ end()

template<typename RAWDATA_T>
std::list< RAWDATA_T >::iterator AFP_RawCollection< RAWDATA_T >::end ( )
inline

Definition at line 21 of file AFP_RawCollection.h.

21{return m_dataRecords.end();}

◆ frontendFlag()

uint32_t AFP_RawCollectionHead::frontendFlag ( ) const
inlineinherited

Value of the 16 least significant bit.

In the following record: xxxx xxxx xxxx xxxx Fxxx xxxx xxxx xxxx it means bits marked with F.

Definition at line 26 of file AFP_RawCollectionHead.h.

26{return m_frontendFlag;};
uint32_t m_frontendFlag
Value of the 16 least significant bit.

◆ link()

uint16_t AFP_RawCollectionHead::link ( ) const
inlineinherited

Value of 5-8 most significant bits.

In the following record: xxxx LLLL xxxx xxxx xxxx xxxx xxxx xxxx it means bits marked with L. Contains information about outlink.

Definition at line 22 of file AFP_RawCollectionHead.h.

22{return m_link;}
uint16_t m_link
Value of 5-8 most significant bits.

◆ lvl1Id()

uint16_t AFP_RawCollectionHead::lvl1Id ( ) const
inlineinherited

Value of 11-15 least significant bits.

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

Definition at line 18 of file AFP_RawCollectionHead.h.

18{return m_lvl1Id;}
uint16_t m_lvl1Id
Value of 11-15 least significant bits.

◆ newDataRecord()

template<typename RAWDATA_T>
RAWDATA_T & AFP_RawCollection< RAWDATA_T >::newDataRecord ( )
inline

Creates a new empty data record in the collection and returns reference to it.

Definition at line 24 of file AFP_RawCollection.h.

24{m_dataRecords.emplace_back(); return m_dataRecords.back();}

◆ robId()

uint32_t AFP_RawCollectionHead::robId ( ) const
inlineinherited

ROB in from which the collection was read.

Definition at line 34 of file AFP_RawCollectionHead.h.

34{return m_robId;}
uint32_t m_robId
ROB in from which the collection was read.

◆ setBcId()

void AFP_RawCollectionHead::setBcId ( const uint16_t bcId)
inlineinherited

Definition at line 31 of file AFP_RawCollectionHead.h.

31{m_bcId = bcId;}
uint16_t bcId() const
Value of 10 least significant bits.

◆ setFrontendFlag()

void AFP_RawCollectionHead::setFrontendFlag ( const uint32_t flag)
inlineinherited

Definition at line 27 of file AFP_RawCollectionHead.h.

bool flag
Definition master.py:29

◆ setLink()

void AFP_RawCollectionHead::setLink ( const uint16_t link)
inlineinherited

Definition at line 23 of file AFP_RawCollectionHead.h.

23{m_link = link;}
uint16_t link() const
Value of 5-8 most significant bits.

◆ setLvl1Id()

void AFP_RawCollectionHead::setLvl1Id ( const uint16_t lvl1Id)
inlineinherited

Definition at line 19 of file AFP_RawCollectionHead.h.

uint16_t lvl1Id() const
Value of 11-15 least significant bits.

◆ setRobId()

void AFP_RawCollectionHead::setRobId ( const uint32_t robId)
inlineinherited

Definition at line 35 of file AFP_RawCollectionHead.h.

35{m_robId = robId;}
uint32_t robId() const
ROB in from which the collection was read.

Member Data Documentation

◆ m_bcId

uint16_t AFP_RawCollectionHead::m_bcId
privateinherited

Value of 10 least significant bits.

In the following record: xxxx xxxx xxxx xxxx xxxx xxBB BBBB BBBB it means bits marked with B. Contains information about bunch crossing ID.

Definition at line 60 of file AFP_RawCollectionHead.h.

◆ m_dataRecords

template<typename RAWDATA_T>
std::list<RAWDATA_T> AFP_RawCollection< RAWDATA_T >::m_dataRecords
private

List of silicon detector data records.

Definition at line 28 of file AFP_RawCollection.h.

◆ m_frontendFlag

uint32_t AFP_RawCollectionHead::m_frontendFlag
privateinherited

Value of the 16 least significant bit.

In the following record: xxxx xxxx xxxx xxxx Fxxx xxxx xxxx xxxx it means bits marked with F.

Definition at line 54 of file AFP_RawCollectionHead.h.

◆ m_link

uint16_t AFP_RawCollectionHead::m_link
privateinherited

Value of 5-8 most significant bits.

In the following record: xxxx LLLL xxxx xxxx xxxx xxxx xxxx xxxx it means bits marked with L. Contains information about outlink.

Definition at line 48 of file AFP_RawCollectionHead.h.

◆ m_lvl1Id

uint16_t AFP_RawCollectionHead::m_lvl1Id
privateinherited

Value of 11-15 least significant bits.

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

Definition at line 42 of file AFP_RawCollectionHead.h.

◆ m_robId

uint32_t AFP_RawCollectionHead::m_robId
privateinherited

ROB in from which the collection was read.

Definition at line 63 of file AFP_RawCollectionHead.h.


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