ATLAS Offline Software
Loading...
Searching...
No Matches
TRTDigit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRT_DIGITIZATION_TRTDIGIT_H
6#define TRT_DIGITIZATION_TRTDIGIT_H
7
11class TRTDigit {
12public:
13
15 TRTDigit(const int& strawID, const unsigned& digit)
16 : m_strawID(strawID), m_digit(digit) {}
17
20
21 ~TRTDigit() = default;
22
24 int GetStrawID() const { return m_strawID; }
25
27 unsigned GetDigit() const { return m_digit; }
28
29private:
31 unsigned m_digit;
32};
33
34#endif
TRTDigit()
Empty, useless digit.
Definition TRTDigit.h:19
int GetStrawID() const
Get straw ID.
Definition TRTDigit.h:24
unsigned GetDigit() const
Get digit.
Definition TRTDigit.h:27
TRTDigit(const int &strawID, const unsigned &digit)
Construct new digit.
Definition TRTDigit.h:15
unsigned m_digit
Digit (encoded 27 bit word)
Definition TRTDigit.h:31
~TRTDigit()=default
int m_strawID
Straw ID.
Definition TRTDigit.h:30