ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
SCT3_RawData_p4 Class Reference

S.Oda, Oct 2018 replace unsigned int by unsigned short for for the presampling samples for Overlay MC. More...

#include <SCT3_RawData_p4.h>

Collaboration diagram for SCT3_RawData_p4:

Public Member Functions

 SCT3_RawData_p4 ()
 
void setRowStrip (const int row, const int strip)
 
int getRow () const
 
int getStrip () const
 

Public Attributes

unsigned short m_rowStrip =0
 
unsigned short m_word =0
 

Friends

class SCT3_RawDataCnv_p4
 

Detailed Description

S.Oda, Oct 2018 replace unsigned int by unsigned short for for the presampling samples for Overlay MC.

Definition at line 14 of file SCT3_RawData_p4.h.

Constructor & Destructor Documentation

◆ SCT3_RawData_p4()

SCT3_RawData_p4::SCT3_RawData_p4 ( )
inline

Definition at line 16 of file SCT3_RawData_p4.h.

16 {};

Member Function Documentation

◆ getRow()

int SCT3_RawData_p4::getRow ( ) const
inline

Definition at line 28 of file SCT3_RawData_p4.h.

28  {
29  return ((m_rowStrip >> 13) & 0x7);
30  }

◆ getStrip()

int SCT3_RawData_p4::getStrip ( ) const
inline

Definition at line 32 of file SCT3_RawData_p4.h.

32  {
33  return (m_rowStrip & 0x1FFF);
34  }

◆ setRowStrip()

void SCT3_RawData_p4::setRowStrip ( const int  row,
const int  strip 
)
inline

Definition at line 23 of file SCT3_RawData_p4.h.

23  {
24  m_rowStrip = (static_cast<unsigned int>(strip) & 0x1FFF);
25  m_rowStrip |= ((static_cast<unsigned int>(row) & 0x7) << 13);
26  }

Friends And Related Function Documentation

◆ SCT3_RawDataCnv_p4

friend class SCT3_RawDataCnv_p4
friend

Definition at line 18 of file SCT3_RawData_p4.h.

Member Data Documentation

◆ m_rowStrip

unsigned short SCT3_RawData_p4::m_rowStrip =0

Definition at line 20 of file SCT3_RawData_p4.h.

◆ m_word

unsigned short SCT3_RawData_p4::m_word =0

Definition at line 21 of file SCT3_RawData_p4.h.


The documentation for this class was generated from the following file:
query_example.row
row
Definition: query_example.py:24
SiliconTech::strip
@ strip
SCT3_RawData_p4::m_rowStrip
unsigned short m_rowStrip
Definition: SCT3_RawData_p4.h:20