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