ATLAS Offline Software
InnerDetector
InDetDigitization
TRT_Digitization
src
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
11
class
TRTDigit
{
12
public
:
13
15
TRTDigit
(
const
int
& strawID,
const
unsigned
&
digit
)
16
:
m_strawID
(strawID),
m_digit
(
digit
) {}
17
19
TRTDigit
() :
m_strawID
(0),
m_digit
(0) {}
20
21
~TRTDigit
() =
default
;
22
24
int
GetStrawID
()
const
{
return
m_strawID
; }
25
27
unsigned
GetDigit
()
const
{
return
m_digit
; }
28
29
private
:
30
int
m_strawID
;
31
unsigned
m_digit
;
32
};
33
34
#endif
TRTDigit::GetDigit
unsigned GetDigit() const
Get digit.
Definition:
TRTDigit.h:27
TRTDigit::TRTDigit
TRTDigit()
Empty, useless digit.
Definition:
TRTDigit.h:19
TRTDigit::~TRTDigit
~TRTDigit()=default
checkRpcDigits.digit
digit
Definition:
checkRpcDigits.py:186
TRTDigit::m_digit
unsigned m_digit
Digit (encoded 27 bit word)
Definition:
TRTDigit.h:31
TRTDigit
Class for TRT digits.
Definition:
TRTDigit.h:11
TRTDigit::GetStrawID
int GetStrawID() const
Get straw ID.
Definition:
TRTDigit.h:24
TRTDigit::m_strawID
int m_strawID
Straw ID
Definition:
TRTDigit.h:30
TRTDigit::TRTDigit
TRTDigit(const int &strawID, const unsigned &digit)
Construct new digit.
Definition:
TRTDigit.h:15
Generated on Tue Jul 2 2024 21:31:48 for ATLAS Offline Software by
1.8.18