ATLAS Offline Software
TgcDigit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // TgcDigit.h
6 
7 #ifndef TgcDigitUH
8 #define TgcDigitUH
9 
10 // Ketevi A. Assamagan
11 // September 27, 2002
12 // Nov 03, 05 YH add bcid
13 //
14 // TGC digitization. Holds a channel ID.
15 
16 #include <iosfwd>
17 #include <inttypes.h>
20 
21 class TgcDigit : public MuonDigit {
22 
23 public: // functions
24 
25  // Default constructor.
26  TgcDigit() = default;
27 
28  // Full Constructor
29  TgcDigit(const Identifier& id);
30  TgcDigit(const Identifier& id, uint16_t bctag);
31 
32  // Is this a valid digit?
33  bool is_valid(const TgcIdHelper * tgcHelper) const;
34 
35  // get BC Tag
36  uint16_t bcTag() const;
38 
39 private: // bctag
41 
42 };
43 
44 #endif
TgcDigit::is_valid
bool is_valid(const TgcIdHelper *tgcHelper) const
Definition: TgcDigit.cxx:26
TgcDigit::BC_UNDEFINED
@ BC_UNDEFINED
Definition: TgcDigit.h:37
TgcDigit::BC_CURRENT
@ BC_CURRENT
Definition: TgcDigit.h:37
TgcIdHelper
Definition: TgcIdHelper.h:50
TgcDigit::bcTag
uint16_t bcTag() const
Definition: TgcDigit.cxx:31
TgcDigit::BC_PREVIOUS
@ BC_PREVIOUS
Definition: TgcDigit.h:37
MuonDigit
Definition: MuonDigit.h:16
TgcDigit::TgcDigit
TgcDigit()=default
MuonDigit.h
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
TgcDigit::BC_NEXT
@ BC_NEXT
Definition: TgcDigit.h:37
TgcDigit
Definition: TgcDigit.h:21
TgcDigit::BC_NEXTNEXT
@ BC_NEXTNEXT
Definition: TgcDigit.h:37
TgcIdHelper.h
TgcDigit::m_bcTag
uint16_t m_bcTag
Definition: TgcDigit.h:40