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

Split the offline part of the cabling apart to use it later for sorting. More...

#include <MdtCablingData.h>

Inheritance diagram for MdtCablingOffData:
Collaboration diagram for MdtCablingOffData:

Public Member Functions

 MdtCablingOffData ()=default
 MdtCablingOffData (const MdtCablingOffData &other)
MdtCablingOffDataoperator= (const MdtCablingOffData &other)
bool operator== (const MdtCablingOffData &other) const
 Multilayer inside the MDT station.
bool operator!= (const MdtCablingOffData &other) const
bool operator< (const MdtCablingOffData &other) const
bool operator! () const

Public Attributes

int8_t & stationIndex
int8_t & eta {m_cache.cache[1]}
 Station of the chamber (i.e, BIL,BIS,etc.)
int8_t & phi {m_cache.cache[2]}
 Eta of the MDT station.
int8_t & multilayer {m_cache.cache[3]}
 Phi sector of the MDT station.

Private Attributes

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

Detailed Description

Split the offline part of the cabling apart to use it later for sorting.

Definition at line 16 of file MdtCablingData.h.

Constructor & Destructor Documentation

◆ MdtCablingOffData() [1/2]

MdtCablingOffData::MdtCablingOffData ( )
default

◆ MdtCablingOffData() [2/2]

MdtCablingOffData::MdtCablingOffData ( const MdtCablingOffData & other)
inline

Definition at line 18 of file MdtCablingData.h.

19 m_cache.hash = other.m_cache.hash;
20 }
union MdtCablingOffData::@146136140275166024214125374003135312065142355135 m_cache
MdtCablingOffData()=default

Member Function Documentation

◆ operator!()

bool MdtCablingOffData::operator! ( ) const
inline

Definition at line 43 of file MdtCablingData.h.

43{ return !m_cache.hash; }

◆ operator!=()

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

Definition at line 37 of file MdtCablingData.h.

37 {
38 return m_cache.hash != other.m_cache.hash;
39 }

◆ operator<()

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

Definition at line 40 of file MdtCablingData.h.

40 {
41 return m_cache.hash < other.m_cache.hash;
42 }

◆ operator=()

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

Definition at line 22 of file MdtCablingData.h.

22 {
23 if (&other != this)
24 m_cache.hash = other.m_cache.hash;
25 return *this;
26 }

◆ operator==()

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

Multilayer inside the MDT station.

Equality operator

Definition at line 34 of file MdtCablingData.h.

34 {
35 return m_cache.hash == other.m_cache.hash;
36 }

Member Data Documentation

◆ cache

int8_t MdtCablingOffData::cache[4]

Definition at line 48 of file MdtCablingData.h.

◆ eta

int8_t& MdtCablingOffData::eta {m_cache.cache[1]}

Station of the chamber (i.e, BIL,BIS,etc.)

Definition at line 29 of file MdtCablingData.h.

29{m_cache.cache[1]};

◆ hash

int MdtCablingOffData::hash {0}

Definition at line 47 of file MdtCablingData.h.

47{0};

◆ [union]

union { ... } MdtCablingOffData::m_cache

◆ multilayer

int8_t& MdtCablingOffData::multilayer {m_cache.cache[3]}

Phi sector of the MDT station.

Definition at line 31 of file MdtCablingData.h.

31{m_cache.cache[3]};

◆ phi

int8_t& MdtCablingOffData::phi {m_cache.cache[2]}

Eta of the MDT station.

Definition at line 30 of file MdtCablingData.h.

30{m_cache.cache[2]};

◆ stationIndex

int8_t& MdtCablingOffData::stationIndex
Initial value:
{
m_cache.cache[0]}

Definition at line 27 of file MdtCablingData.h.

27 {
28 m_cache.cache[0]};

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