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

#include <PixelTB04RawData.h>

Inheritance diagram for PixelTB04RawData:
Collaboration diagram for PixelTB04RawData:

Public Member Functions

 PixelTB04RawData (const Identifier rdoId, const unsigned int word)
 
 PixelTB04RawData (const Identifier rdoId, const unsigned int word, const unsigned int BCID, const unsigned int LVL1ID)
 
 PixelTB04RawData (const Identifier rdoId, const unsigned int ToT, const unsigned int BCID, const unsigned int LVL1ID, const unsigned int LVL1A)
 
virtual ~PixelTB04RawData ()
 
virtual int getToT () const
 
virtual int getBCID () const
 
virtual int getLVL1ID () const
 
virtual int getLVL1A () const
 
 PixelTB04RawData ()
 
virtual Identifier identify () const override final
 
unsigned int getWord () const
 
void merge (const InDetRawData &other)
 
virtual IdentifierHash identifyHash () const
 
virtual const IdHelpergetHelper () const
 

Protected Attributes

unsigned int m_word = 0
 

Private Attributes

unsigned int m_BCID
 
unsigned int m_LVL1ID
 
Identifier m_rdoId
 

Detailed Description

Definition at line 26 of file PixelTB04RawData.h.

Constructor & Destructor Documentation

◆ PixelTB04RawData() [1/4]

PixelTB04RawData::PixelTB04RawData ( const Identifier  rdoId,
const unsigned int  word 
)

◆ PixelTB04RawData() [2/4]

PixelTB04RawData::PixelTB04RawData ( const Identifier  rdoId,
const unsigned int  word,
const unsigned int  BCID,
const unsigned int  LVL1ID 
)

Definition at line 27 of file PixelTB04RawData.cxx.

28  :
29  PixelRDORawData( rdoId, word) //call base-class constructor
30 {
31  m_BCID = BCID;
32  m_LVL1ID = LVL1ID;
33 }

◆ PixelTB04RawData() [3/4]

PixelTB04RawData::PixelTB04RawData ( const Identifier  rdoId,
const unsigned int  ToT,
const unsigned int  BCID,
const unsigned int  LVL1ID,
const unsigned int  LVL1A 
)

Definition at line 35 of file PixelTB04RawData.cxx.

36  :
37  PixelRDORawData( rdoId, (ToT&0xFF)+((LVL1A&0xF)<<8) ) //call base-class constructor
38 {
39  m_BCID = BCID;
40  m_LVL1ID = LVL1ID;
41 }

◆ ~PixelTB04RawData()

PixelTB04RawData::~PixelTB04RawData ( )
virtual

Definition at line 44 of file PixelTB04RawData.cxx.

45 {}

◆ PixelTB04RawData() [4/4]

PixelTB04RawData::PixelTB04RawData ( )

Definition at line 19 of file PixelTB04RawData.cxx.

19  :
20  PixelRDORawData( Identifier(), 0) //call base-class constructor
21 {
22  m_BCID=0;
23  m_LVL1ID=0;
24 }

Member Function Documentation

◆ getBCID()

int PixelTB04RawData::getBCID ( ) const
inlinevirtual

Implements PixelRDORawData.

Definition at line 88 of file PixelTB04RawData.h.

89 {
90  return (m_BCID);
91 }

◆ getHelper()

const IdHelper * Identifiable::getHelper ( ) const
virtualinherited

Definition at line 18 of file Identifiable.cxx.

18  {
19  return (nullptr);
20 }

◆ getLVL1A()

int PixelTB04RawData::getLVL1A ( ) const
inlinevirtual

Implements PixelRDORawData.

Definition at line 100 of file PixelTB04RawData.h.

101 {
102  return ( (m_word>>8) & 0xF );
103 }

◆ getLVL1ID()

int PixelTB04RawData::getLVL1ID ( ) const
inlinevirtual

Implements PixelRDORawData.

Definition at line 94 of file PixelTB04RawData.h.

95 {
96  return (m_LVL1ID);
97 }

◆ getToT()

int PixelTB04RawData::getToT ( ) const
inlinevirtual

Implements PixelRDORawData.

Definition at line 82 of file PixelTB04RawData.h.

83 {
84  return (m_word & 0xFF);
85 }

◆ getWord()

unsigned int InDetRawData::getWord ( ) const
inlineinherited

Definition at line 47 of file InDetRawData.h.

48  {
49  return m_word;
50  }

◆ identify()

virtual Identifier InDetRawData::identify ( ) const
inlinefinaloverridevirtualinherited

Implements Identifiable.

Definition at line 41 of file InDetRawData.h.

42  {
43  return m_rdoId;
44  }

◆ identifyHash()

IdentifierHash Identifiable::identifyHash ( ) const
virtualinherited

◆ merge()

void InDetRawData::merge ( const InDetRawData other)
inlineinherited

Definition at line 60 of file InDetRawData.h.

61  {
62  m_word |= other.m_word;
63  }

Member Data Documentation

◆ m_BCID

unsigned int PixelTB04RawData::m_BCID
private

Definition at line 73 of file PixelTB04RawData.h.

◆ m_LVL1ID

unsigned int PixelTB04RawData::m_LVL1ID
private

Definition at line 74 of file PixelTB04RawData.h.

◆ m_rdoId

Identifier InDetRawData::m_rdoId
privateinherited

Definition at line 69 of file InDetRawData.h.

◆ m_word

unsigned int InDetRawData::m_word = 0
protectedinherited

Definition at line 72 of file InDetRawData.h.


The documentation for this class was generated from the following files:
get_generator_info.result
result
Definition: get_generator_info.py:21
PixelRDORawData::PixelRDORawData
PixelRDORawData()
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
PixelTB04RawData::m_LVL1ID
unsigned int m_LVL1ID
Definition: PixelTB04RawData.h:74
InDetRawData::m_word
unsigned int m_word
Definition: InDetRawData.h:72
InDetRawData::m_rdoId
Identifier m_rdoId
Definition: InDetRawData.h:69
PixelTB04RawData::m_BCID
unsigned int m_BCID
Definition: PixelTB04RawData.h:73
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
PixelByteStreamErrors::LVL1ID
@ LVL1ID
Definition: PixelByteStreamErrors.h:13
Identifier
Definition: IdentifierFieldParser.cxx:14