ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCablingOnData Struct Reference

#include <MdtCablingData.h>

Inheritance diagram for MdtCablingOnData:
Collaboration diagram for MdtCablingOnData:

Public Member Functions

 MdtCablingOnData ()=default
 MdtCablingOnData (const MdtCablingOnData &other)
 Subdetector number.
MdtCablingOnDataoperator= (const MdtCablingOnData &other)
bool operator== (const MdtCablingOnData &other) const
bool operator!= (const MdtCablingOnData &other) const
bool operator< (const MdtCablingOnData &other) const
bool operator! () const

Public Attributes

uint8_t & mrod {m_cache.cache[0]}
uint8_t & csm {m_cache.cache[1]}
 MROD number.
uint8_t & subdetectorId {m_cache.cache[2]}
 CSM number.

Private Attributes

union { 
   int   hash {0} 
   uint8_t   cache [4] 
m_cache

Detailed Description

Definition at line 51 of file MdtCablingData.h.

Constructor & Destructor Documentation

◆ MdtCablingOnData() [1/2]

MdtCablingOnData::MdtCablingOnData ( )
default

◆ MdtCablingOnData() [2/2]

MdtCablingOnData::MdtCablingOnData ( const MdtCablingOnData & other)
inline

Subdetector number.

Definition at line 57 of file MdtCablingData.h.

58 m_cache.hash = other.m_cache.hash;
59 }
MdtCablingOnData()=default
union MdtCablingOnData::@254320377220212070036216362204234153063321322235 m_cache

Member Function Documentation

◆ operator!()

bool MdtCablingOnData::operator! ( ) const
inline

Definition at line 76 of file MdtCablingData.h.

76{ return !m_cache.hash; }

◆ operator!=()

bool MdtCablingOnData::operator!= ( const MdtCablingOnData & other) const
inline

Definition at line 70 of file MdtCablingData.h.

70 {
71 return m_cache.hash != other.m_cache.hash;
72 }

◆ operator<()

bool MdtCablingOnData::operator< ( const MdtCablingOnData & other) const
inline

Definition at line 73 of file MdtCablingData.h.

73 {
74 return m_cache.hash < other.m_cache.hash;
75 }

◆ operator=()

MdtCablingOnData & MdtCablingOnData::operator= ( const MdtCablingOnData & other)
inline

Definition at line 61 of file MdtCablingData.h.

61 {
62 if (&other != this)
63 m_cache.hash = other.m_cache.hash;
64 return *this;
65 }

◆ operator==()

bool MdtCablingOnData::operator== ( const MdtCablingOnData & other) const
inline

Definition at line 67 of file MdtCablingData.h.

67 {
68 return m_cache.hash == other.m_cache.hash;
69 }

Member Data Documentation

◆ cache

uint8_t MdtCablingOnData::cache[4]

Definition at line 81 of file MdtCablingData.h.

◆ csm

uint8_t& MdtCablingOnData::csm {m_cache.cache[1]}

MROD number.

Definition at line 54 of file MdtCablingData.h.

54{m_cache.cache[1]};

◆ hash

int MdtCablingOnData::hash {0}

Definition at line 80 of file MdtCablingData.h.

80{0};

◆ [union]

union { ... } MdtCablingOnData::m_cache

◆ mrod

uint8_t& MdtCablingOnData::mrod {m_cache.cache[0]}

Definition at line 53 of file MdtCablingData.h.

53{m_cache.cache[0]};

◆ subdetectorId

uint8_t& MdtCablingOnData::subdetectorId {m_cache.cache[2]}

CSM number.

Definition at line 55 of file MdtCablingData.h.

55{m_cache.cache[2]};

The documentation for this struct was generated from the following file: