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

Class for TRT digits. More...

#include <TRTDigit.h>

Collaboration diagram for TRTDigit:

Public Member Functions

 TRTDigit (const int &strawID, const unsigned &digit)
 Construct new digit. More...
 
 TRTDigit ()
 Empty, useless digit. More...
 
 ~TRTDigit ()=default
 
int GetStrawID () const
 Get straw ID. More...
 
unsigned GetDigit () const
 Get digit. More...
 

Private Attributes

int m_strawID
 Straw ID
More...
 
unsigned m_digit
 Digit (encoded 27 bit word)
More...
 

Detailed Description

Class for TRT digits.

Definition at line 11 of file TRTDigit.h.

Constructor & Destructor Documentation

◆ TRTDigit() [1/2]

TRTDigit::TRTDigit ( const int &  strawID,
const unsigned &  digit 
)
inline

Construct new digit.

Definition at line 15 of file TRTDigit.h.

16  : m_strawID(strawID), m_digit(digit) {}

◆ TRTDigit() [2/2]

TRTDigit::TRTDigit ( )
inline

Empty, useless digit.

Definition at line 19 of file TRTDigit.h.

19 : m_strawID(0), m_digit(0) {}

◆ ~TRTDigit()

TRTDigit::~TRTDigit ( )
default

Member Function Documentation

◆ GetDigit()

unsigned TRTDigit::GetDigit ( ) const
inline

Get digit.

Definition at line 27 of file TRTDigit.h.

27 { return m_digit; }

◆ GetStrawID()

int TRTDigit::GetStrawID ( ) const
inline

Get straw ID.

Definition at line 24 of file TRTDigit.h.

24 { return m_strawID; }

Member Data Documentation

◆ m_digit

unsigned TRTDigit::m_digit
private

Digit (encoded 27 bit word)

Definition at line 31 of file TRTDigit.h.

◆ m_strawID

int TRTDigit::m_strawID
private

Straw ID

Definition at line 30 of file TRTDigit.h.


The documentation for this class was generated from the following file:
checkRpcDigits.digit
digit
Definition: checkRpcDigits.py:186
TRTDigit::m_digit
unsigned m_digit
Digit (encoded 27 bit word)
Definition: TRTDigit.h:31
TRTDigit::m_strawID
int m_strawID
Straw ID
Definition: TRTDigit.h:30