5#ifndef MUONMDT_CABLING_MDTCABLINGDATA_H
6#define MUONMDT_CABLING_MDTCABLINGDATA_H
19 m_cache.hash = other.m_cache.hash;
24 m_cache.hash = other.m_cache.hash;
35 return m_cache.hash == other.m_cache.hash;
38 return m_cache.hash != other.m_cache.hash;
41 return m_cache.hash < other.m_cache.hash;
58 m_cache.hash = other.m_cache.hash;
63 m_cache.hash = other.m_cache.hash;
68 return m_cache.hash == other.m_cache.hash;
71 return m_cache.hash != other.m_cache.hash;
74 return m_cache.hash < other.m_cache.hash;
114 tdcId == other.tdcId &&
layer == other.layer &&
118 return !((*this) == other);
121 if (this->MdtCablingOffData::operator!=(other))
123 if (this->MdtCablingOnData::operator!=(other))
125 if (
tdcId != other.tdcId)
126 return tdcId < other.tdcId;
std::ostream & operator<<(std::ostream &ostr, const MdtCablingData &obj)
static constexpr int legacy_tube_block_size
Identifier of the corresponding channel on the tdc.
uint8_t tdcId
Mezzanine type.
int tubes_per_layer
Helper constants to extract tube,layer, multilayer information.
uint8_t mezzanine_type
Tube number in the layer.
bool operator==(const MdtCablingData &other) const
Equality operator.
static constexpr int legacy_layer_block_size
int tube
Layer inside the multilayer.
bool operator!=(const MdtCablingData &other) const
bool operator<(const MdtCablingData &other) const
uint8_t channelId
Identifier of the corresponding tdc.
Split the offline part of the cabling apart to use it later for sorting.
bool operator==(const MdtCablingOffData &other) const
Multilayer inside the MDT station.
union MdtCablingOffData::@146136140275166024214125374003135312065142355135 m_cache
bool operator<(const MdtCablingOffData &other) const
int8_t & multilayer
Phi sector of the MDT station.
bool operator!=(const MdtCablingOffData &other) const
int8_t & eta
Station of the chamber (i.e, BIL,BIS,etc.)
MdtCablingOffData & operator=(const MdtCablingOffData &other)
MdtCablingOffData(const MdtCablingOffData &other)
MdtCablingOffData()=default
int8_t & phi
Eta of the MDT station.
MdtCablingOnData()=default
bool operator!=(const MdtCablingOnData &other) const
bool operator==(const MdtCablingOnData &other) const
uint8_t & subdetectorId
CSM number.
MdtCablingOnData & operator=(const MdtCablingOnData &other)
union MdtCablingOnData::@254320377220212070036216362204234153063321322235 m_cache
uint8_t & csm
MROD number.
MdtCablingOnData(const MdtCablingOnData &other)
Subdetector number.
bool operator<(const MdtCablingOnData &other) const