ATLAS Offline Software
MuonSpectrometer
MuonDigitContainer
MuonDigitContainer
MdtDigit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// MdtDigit.h
6
7
#ifndef MdtDigitUH
8
#define MdtDigitUH
9
10
// David Adams
11
// November 2001
12
//
13
// MDT digitization. Holds a channel ID and a TDC value.
14
15
#include <iosfwd>
16
#include "
MuonDigitContainer/MuonDigit.h
"
17
#include "
MuonIdHelpers/MdtIdHelper.h
"
18
19
class
MdtDigit
:
public
MuonDigit
{
20
public
:
21
// Default constructor.
22
MdtDigit
() =
default
;
23
// Full constructor for combined measurement mode tdc+adc
24
MdtDigit
(
const
Identifier
&
id
,
int16_t
tdc
,
int16_t
adc
,
bool
isMasked
);
25
// Return the TDC.
26
int16_t
tdc
()
const
{
return
m_tdc
; }
27
// Return the ADC
28
int16_t
adc
()
const
{
return
m_adc
; }
30
bool
isMasked
()
const
{
return
m_isMasked
; }
32
void
setTdc
(
const
int16_t
tdc
);
34
void
setAdc
(
const
int16_t
adc
);
35
36
private
:
37
// TDC value.
38
int16_t
m_tdc
{0};
39
// ADC value for combined measurement mode
40
int16_t
m_adc
{0};
42
bool
m_isMasked
{
false
};
43
44
45
};
46
47
#endif
MdtDigit::m_isMasked
bool m_isMasked
Masked lag.
Definition:
MdtDigit.h:42
MdtDigit
Definition:
MdtDigit.h:19
MdtDigit::m_adc
int16_t m_adc
Definition:
MdtDigit.h:40
MuonDigit
Definition:
MuonDigit.h:16
xAOD::int16_t
setScaleOne setStatusOne setSaturated int16_t
Definition:
gFexGlobalRoI_v1.cxx:55
MdtDigit::m_tdc
int16_t m_tdc
Definition:
MdtDigit.h:38
MuonDigit.h
MdtDigit::adc
int16_t adc() const
Definition:
MdtDigit.h:28
MdtIdHelper.h
MdtDigit::setAdc
void setAdc(const int16_t adc)
Overwrites a new adc value.
Definition:
MdtDigit.cxx:13
MdtDigit::setTdc
void setTdc(const int16_t tdc)
Overwrites a new tdc value.
Definition:
MdtDigit.cxx:12
MdtDigit::MdtDigit
MdtDigit()=default
MdtDigit::tdc
int16_t tdc() const
Definition:
MdtDigit.h:26
MdtDigit::isMasked
bool isMasked() const
Return whether the digit is masked or not.
Definition:
MdtDigit.h:30
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Thu Nov 7 2024 21:20:39 for ATLAS Offline Software by
1.8.18