ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
TgcDigit Class Reference

#include <TgcDigit.h>

Inheritance diagram for TgcDigit:
Collaboration diagram for TgcDigit:

Public Types

enum  {
  BC_UNDEFINED =0, BC_PREVIOUS, BC_CURRENT, BC_NEXT,
  BC_NEXTNEXT
}
 

Public Member Functions

 TgcDigit ()=default
 
 TgcDigit (const Identifier &id)
 
 TgcDigit (const Identifier &id, uint16_t bctag)
 
bool is_valid (const TgcIdHelper *tgcHelper) const
 
uint16_t bcTag () const
 
void setID (const Identifier id)
 
Identifier identify () const
 
virtual IdentifierHash identifyHash () const
 
virtual const IdHelpergetHelper () const
 

Protected Attributes

Identifier m_muonId {}
 

Private Attributes

uint16_t m_bcTag {BC_UNDEFINED}
 

Detailed Description

Definition at line 21 of file TgcDigit.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BC_UNDEFINED 
BC_PREVIOUS 
BC_CURRENT 
BC_NEXT 
BC_NEXTNEXT 

Definition at line 37 of file TgcDigit.h.

Constructor & Destructor Documentation

◆ TgcDigit() [1/3]

TgcDigit::TgcDigit ( )
default

◆ TgcDigit() [2/3]

TgcDigit::TgcDigit ( const Identifier id)

Definition at line 14 of file TgcDigit.cxx.

15  : MuonDigit (id),
16  m_bcTag (BC_CURRENT) { }

◆ TgcDigit() [3/3]

TgcDigit::TgcDigit ( const Identifier id,
uint16_t  bctag 
)

Definition at line 18 of file TgcDigit.cxx.

19  : MuonDigit (id),
20  m_bcTag (bctag) { }

Member Function Documentation

◆ bcTag()

uint16_t TgcDigit::bcTag ( ) const

Definition at line 31 of file TgcDigit.cxx.

31  {
32  return m_bcTag;
33 }

◆ getHelper()

const IdHelper * Identifiable::getHelper ( ) const
virtualinherited

Definition at line 18 of file Identifiable.cxx.

18  {
19  return (nullptr);
20 }

◆ identify()

Identifier MuonDigit::identify ( ) const
inlinevirtualinherited

Implements Identifiable.

Definition at line 30 of file MuonDigit.h.

30 {return m_muonId;}

◆ identifyHash()

IdentifierHash Identifiable::identifyHash ( ) const
virtualinherited

◆ is_valid()

bool TgcDigit::is_valid ( const TgcIdHelper tgcHelper) const

Definition at line 26 of file TgcDigit.cxx.

26  {
27  return (tgcHelper->valid(m_muonId));
28 }

◆ setID()

void MuonDigit::setID ( const Identifier  id)
inlineinherited

Definition at line 29 of file MuonDigit.h.

29 {m_muonId = id;}

Member Data Documentation

◆ m_bcTag

uint16_t TgcDigit::m_bcTag {BC_UNDEFINED}
private

Definition at line 40 of file TgcDigit.h.

◆ m_muonId

Identifier MuonDigit::m_muonId {}
protectedinherited

Definition at line 21 of file MuonDigit.h.


The documentation for this class was generated from the following files:
TgcDigit::BC_UNDEFINED
@ BC_UNDEFINED
Definition: TgcDigit.h:37
get_generator_info.result
result
Definition: get_generator_info.py:21
TgcDigit::BC_CURRENT
@ BC_CURRENT
Definition: TgcDigit.h:37
TgcDigit::BC_PREVIOUS
@ BC_PREVIOUS
Definition: TgcDigit.h:37
MuonDigit::MuonDigit
MuonDigit()=default
TgcDigit::BC_NEXT
@ BC_NEXT
Definition: TgcDigit.h:37
TgcDigit::BC_NEXTNEXT
@ BC_NEXTNEXT
Definition: TgcDigit.h:37
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
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