ATLAS Offline Software
Loading...
Searching...
No Matches
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.
 TRTDigit ()
 Empty, useless digit.
 ~TRTDigit ()=default
int GetStrawID () const
 Get straw ID.
unsigned GetDigit () const
 Get digit.

Private Attributes

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

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) {}
unsigned m_digit
Digit (encoded 27 bit word)
Definition TRTDigit.h:31
int m_strawID
Straw ID.
Definition TRTDigit.h:30

◆ 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: