ATLAS Offline Software
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 
8 
9 
10 //**********************************************************************
11 
12 // Full Constructor
13 
15  : MuonDigit (id),
16  m_bcTag (BC_CURRENT) { }
17 
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
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:93
TgcDigit.h
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
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