ATLAS Offline Software
MuonSpectrometer
MuonDigitContainer
src
TgcDigit.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// TgcDigit.cxx
6
7
#include "
MuonDigitContainer/TgcDigit.h
"
8
9
10
//**********************************************************************
11
12
// Full Constructor
13
14
TgcDigit::TgcDigit
(
const
Identifier
&
id
)
15
:
MuonDigit
(
id
),
16
m_bcTag (BC_CURRENT) { }
17
18
TgcDigit::TgcDigit
(
const
Identifier
&
id
,
uint16_t
bctag)
19
:
MuonDigit
(
id
),
20
m_bcTag (bctag) { }
21
22
//**********************************************************************
23
24
// Validity check.
25
26
bool
TgcDigit::is_valid
(
const
TgcIdHelper
* tgcHelper)
const
{
27
return
(tgcHelper->
valid
(
m_muonId
));
28
}
29
30
// get BC tag
31
uint16_t
TgcDigit::bcTag
()
const
{
32
return
m_bcTag
;
33
}
TgcDigit::is_valid
bool is_valid(const TgcIdHelper *tgcHelper) const
Definition:
TgcDigit.cxx:26
TgcIdHelper
Definition:
TgcIdHelper.h:50
TgcDigit::bcTag
uint16_t bcTag() const
Definition:
TgcDigit.cxx:31
MuonDigit
Definition:
MuonDigit.h:16
TgcDigit::TgcDigit
TgcDigit()=default
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:88
TgcDigit.h
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:220
MuonDigit::m_muonId
Identifier m_muonId
Definition:
MuonDigit.h:21
TgcDigit::m_bcTag
uint16_t m_bcTag
Definition:
TgcDigit.h:40
TgcIdHelper::valid
bool valid(const Identifier &id) const
Definition:
TgcIdHelper.cxx:465
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Thu Nov 7 2024 21:27:39 for ATLAS Offline Software by
1.8.18