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

#include <MdtDigit.h>

Inheritance diagram for MdtDigit:
Collaboration diagram for MdtDigit:

Public Member Functions

 MdtDigit ()=default
 
 MdtDigit (const Identifier &id, int16_t tdc, int16_t adc, bool isMasked)
 
int16_t tdc () const
 
int16_t adc () const
 
bool isMasked () const
 Return whether the digit is masked or not. More...
 
void setTdc (const int16_t tdc)
 Overwrites a new tdc value. More...
 
void setAdc (const int16_t adc)
 Overwrites a new adc value. More...
 
void setID (const Identifier id)
 
Identifier identify () const
 
virtual IdentifierHash identifyHash () const
 
virtual const IdHelpergetHelper () const
 

Protected Attributes

Identifier m_muonId {}
 

Private Attributes

int16_t m_tdc {0}
 
int16_t m_adc {0}
 
bool m_isMasked {false}
 Masked lag. More...
 

Detailed Description

Definition at line 19 of file MdtDigit.h.

Constructor & Destructor Documentation

◆ MdtDigit() [1/2]

MdtDigit::MdtDigit ( )
default

◆ MdtDigit() [2/2]

MdtDigit::MdtDigit ( const Identifier id,
int16_t  tdc,
int16_t  adc,
bool  isMasked 
)

Definition at line 9 of file MdtDigit.cxx.

9  :

Member Function Documentation

◆ adc()

int16_t MdtDigit::adc ( ) const
inline

Definition at line 28 of file MdtDigit.h.

28 { return m_adc; }

◆ 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

◆ isMasked()

bool MdtDigit::isMasked ( ) const
inline

Return whether the digit is masked or not.

Definition at line 30 of file MdtDigit.h.

30 { return m_isMasked; }

◆ setAdc()

void MdtDigit::setAdc ( const int16_t  adc)

Overwrites a new adc value.

Definition at line 13 of file MdtDigit.cxx.

13 { m_adc = adc; }

◆ setID()

void MuonDigit::setID ( const Identifier  id)
inlineinherited

Definition at line 29 of file MuonDigit.h.

29 {m_muonId = id;}

◆ setTdc()

void MdtDigit::setTdc ( const int16_t  tdc)

Overwrites a new tdc value.

Definition at line 12 of file MdtDigit.cxx.

12 { m_tdc = tdc; }

◆ tdc()

int16_t MdtDigit::tdc ( ) const
inline

Definition at line 26 of file MdtDigit.h.

26 { return m_tdc; }

Member Data Documentation

◆ m_adc

int16_t MdtDigit::m_adc {0}
private

Definition at line 40 of file MdtDigit.h.

◆ m_isMasked

bool MdtDigit::m_isMasked {false}
private

Masked lag.

Definition at line 42 of file MdtDigit.h.

◆ m_muonId

Identifier MuonDigit::m_muonId {}
protectedinherited

Definition at line 21 of file MuonDigit.h.

◆ m_tdc

int16_t MdtDigit::m_tdc {0}
private

Definition at line 38 of file MdtDigit.h.


The documentation for this class was generated from the following files:
get_generator_info.result
result
Definition: get_generator_info.py:21
MdtDigit::m_isMasked
bool m_isMasked
Masked lag.
Definition: MdtDigit.h:42
MdtDigit::m_adc
int16_t m_adc
Definition: MdtDigit.h:40
MuonDigit
Definition: MuonDigit.h:16
MdtDigit::m_tdc
int16_t m_tdc
Definition: MdtDigit.h:38
MdtDigit::adc
int16_t adc() const
Definition: MdtDigit.h:28
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
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
MdtDigit::tdc
int16_t tdc() const
Definition: MdtDigit.h:26
MdtDigit::isMasked
bool isMasked() const
Return whether the digit is masked or not.
Definition: MdtDigit.h:30
MuonDigit::m_muonId
Identifier m_muonId
Definition: MuonDigit.h:21