5#ifndef MUONMDT_CABLING_MDTAMTMAP_H
6#define MUONMDT_CABLING_MDTAMTMAP_H
23#include "GaudiKernel/MsgStream.h"
93 operator bool()
const {
return m_ptr; }
105 operator bool()
const {
return m_ptr; }
116 return a->maxTube() < b.tube;
119 return a.tube < b->minTube();
123 return a->minTube() < b->minTube();
127 return a->moduleId() < b->moduleId();
130 return a->moduleId() < b.tdcId;
133 return a.tdcId < b->moduleId();
bool operator<(const MdtTdcOffSorter &a, const MdtCablingData &b)
Operators used for navigation later.
static constexpr uint8_t NOTSET
std::shared_ptr< const MdtMezzanineCard > MezzCardPtr
bool offlineId(MdtCablingData &cabling_data, MsgStream &log) const
retrieve the full information
uint8_t moduleId() const
return the tdc id
uint8_t csm() const
return the csm of the associated tdc
const MdtCablingOffData & offId() const
get the offline identifier
MdtCablingData m_statId
tube corresponding to each tdc channel
uint8_t mrod() const
return the mrod associated to the tdc
~MdtTdcMap()=default
destructor
MdtMezzanineCard::MezzCardPtr MezzCardPtr
uint8_t mezzanineType() const
get the mezzanine type
int multiLayer() const
get the multilayer (independent of the channel)
MdtTdcMap(const MezzCardPtr mezType, const MdtCablingData &cabling_data)
constructor
static constexpr uint8_t NOTSET
const MdtCablingOnData & onlineId() const
get the online identiifer
Split the offline part of the cabling apart to use it later for sorting.
Helper struct to search through the std::set if a conversion from offline -> online is needed.
MdtTdcOffSorter()=default
MdtTdcOffSorter(const MdtTdcMap *ptr)
const MdtTdcMap * operator->() const
Helper struct to search through the std::set if a conversion from online -> offline is needed.
const MdtTdcMap * operator->() const
MdtTdcOnlSorter()=default
MdtTdcOnlSorter(const MdtTdcMap *ptr)