ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
std::list< RAWDATA_T >::iterator end ()
 
RAWDATA_T & newDataRecord ()
 Creates a new empty data record in the collection and returns reference to it. More...
 
uint16_t lvl1Id () const
 Value of 11-15 least significant bits. More...
 
void setLvl1Id (const uint16_t lvl1Id)
 
uint16_t link () const
 Value of 5-8 most significant bits. More...
 
void setLink (const uint16_t link)
 
uint32_t frontendFlag () const
 Value of the 16 least significant bit. More...
 
void setFrontendFlag (const uint32_t flag)
 
uint16_t bcId () const
 Value of 10 least significant bits. More...
 
void setBcId (const uint16_t bcId)
 
uint32_t robId () const
 ROB in from which the collection was read. More...
 
void setRobId (const uint32_t robId)
 

Private Attributes

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

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;};

◆ 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();}

◆ 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;};

◆ 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;}

◆ 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;}

◆ 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;}

◆ setBcId()

void AFP_RawCollectionHead::setBcId ( const uint16_t  bcId)
inlineinherited

Definition at line 31 of file AFP_RawCollectionHead.h.

31 {m_bcId = bcId;}

◆ setFrontendFlag()

void AFP_RawCollectionHead::setFrontendFlag ( const uint32_t  flag)
inlineinherited

Definition at line 27 of file AFP_RawCollectionHead.h.

◆ setLink()

void AFP_RawCollectionHead::setLink ( const uint16_t  link)
inlineinherited

Definition at line 23 of file AFP_RawCollectionHead.h.

23 {m_link = link;}

◆ setLvl1Id()

void AFP_RawCollectionHead::setLvl1Id ( const uint16_t  lvl1Id)
inlineinherited

Definition at line 19 of file AFP_RawCollectionHead.h.

19 {m_lvl1Id = lvl1Id;}

◆ setRobId()

void AFP_RawCollectionHead::setRobId ( const uint32_t  robId)
inlineinherited

Definition at line 35 of file AFP_RawCollectionHead.h.

35 {m_robId = robId;}

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:
AFP_RawCollectionHead::link
uint16_t link() const
Value of 5-8 most significant bits.
Definition: AFP_RawCollectionHead.h:22
master.flag
bool flag
Definition: master.py:29
AFP_RawCollection::m_dataRecords
std::list< RAWDATA_T > m_dataRecords
List of silicon detector data records.
Definition: AFP_RawCollection.h:28
AFP_RawCollectionHead::m_frontendFlag
uint32_t m_frontendFlag
Value of the 16 least significant bit.
Definition: AFP_RawCollectionHead.h:54
AFP_RawCollectionHead::m_link
uint16_t m_link
Value of 5-8 most significant bits.
Definition: AFP_RawCollectionHead.h:48
AFP_RawCollectionHead::robId
uint32_t robId() const
ROB in from which the collection was read.
Definition: AFP_RawCollectionHead.h:34
AFP_RawCollectionHead::m_lvl1Id
uint16_t m_lvl1Id
Value of 11-15 least significant bits.
Definition: AFP_RawCollectionHead.h:42
AFP_RawCollectionHead::m_bcId
uint16_t m_bcId
Value of 10 least significant bits.
Definition: AFP_RawCollectionHead.h:60
AFP_RawCollectionHead::bcId
uint16_t bcId() const
Value of 10 least significant bits.
Definition: AFP_RawCollectionHead.h:30
AFP_RawCollectionHead::m_robId
uint32_t m_robId
ROB in from which the collection was read.
Definition: AFP_RawCollectionHead.h:63
AFP_RawCollectionHead::lvl1Id
uint16_t lvl1Id() const
Value of 11-15 least significant bits.
Definition: AFP_RawCollectionHead.h:18