ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18TgcDigit::TgcDigit(const Identifier& id, uint16_t bctag)
19 : MuonDigit (id),
20 m_bcTag (bctag) { }
21
22//**********************************************************************
23
24// Validity check.
25
26bool TgcDigit::is_valid(const TgcIdHelper * tgcHelper) const {
27 return (tgcHelper->valid(m_muonId));
28}
29
30// get BC tag
31uint16_t TgcDigit::bcTag() const {
32 return m_bcTag;
33}
Identifier m_muonId
Definition MuonDigit.h:21
MuonDigit()=default
uint16_t m_bcTag
Definition TgcDigit.h:40
TgcDigit()=default
uint16_t bcTag() const
Definition TgcDigit.cxx:31
@ BC_CURRENT
Definition TgcDigit.h:37
bool is_valid(const TgcIdHelper *tgcHelper) const
Definition TgcDigit.cxx:26
bool valid(const Identifier &id) const