ATLAS Offline Software
Loading...
Searching...
No Matches
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.h
MuonDigit::m_muonId
Identifier m_muonId
Definition
MuonDigit.h:21
MuonDigit::MuonDigit
MuonDigit()=default
TgcDigit::m_bcTag
uint16_t m_bcTag
Definition
TgcDigit.h:40
TgcDigit::TgcDigit
TgcDigit()=default
TgcDigit::bcTag
uint16_t bcTag() const
Definition
TgcDigit.cxx:31
TgcDigit::BC_CURRENT
@ BC_CURRENT
Definition
TgcDigit.h:37
TgcDigit::is_valid
bool is_valid(const TgcIdHelper *tgcHelper) const
Definition
TgcDigit.cxx:26
TgcIdHelper
Definition
TgcIdHelper.h:50
TgcIdHelper::valid
bool valid(const Identifier &id) const
Definition
TgcIdHelper.cxx:470
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.14.0