1 #ifndef CondFormats_Phase2TrackerDTC_DTCELinkId_h 2 #define CondFormats_Phase2TrackerDTC_DTCELinkId_h 38 DTCELinkId(uint16_t, uint8_t, uint8_t) noexcept;
62 constexpr
const size_t shift_gbtlink_id = numeric_limits<decltype(
k.elink_id())>::
max() + 1u;
63 constexpr
const size_t shift_dtc_id = (numeric_limits<decltype(
k.gbtlink_id())>::
max() + 1u) * shift_gbtlink_id;
65 return k.elink_id() +
k.gbtlink_id() * shift_gbtlink_id +
k.dtc_id() * shift_dtc_id;
85 #endif // end DataFormats_Phase2TrackerDTC_DTCELinkId_h
bool operator==(DTCELinkId const &lhs, DTCELinkId const &rhs)
bool operator>(DTCELinkId const &lhs, DTCELinkId const &rhs)
auto gbtlink_id() const noexcept
auto elink_id() const noexcept
DTCELinkId & operator=(DTCELinkId const &) noexcept
bool operator!=(DTCELinkId const &lhs, DTCELinkId const &rhs)
#define COND_SERIALIZABLE
size_t operator()(const DTCELinkId &k) const noexcept
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
auto dtc_id() const noexcept