17#ifndef O2_MCH_BASE_ORBITINFO_H_
18#define O2_MCH_BASE_ORBITINFO_H_
36 OrbitInfo(gsl::span<const std::byte> rdhBuffer);
39 uint64_t
get()
const {
return mOrbitInfo; }
40 uint32_t
getOrbit()
const {
return (mOrbitInfo & 0xFFFFFFFF); }
41 uint8_t
getLinkID()
const {
return ((mOrbitInfo >> 32) & 0xFF); }
42 uint16_t
getFeeID()
const {
return ((mOrbitInfo >> 40) & 0xFF); }
49 uint64_t mOrbitInfo = {0};
54bool operator==(
const OrbitInfo& o1,
const OrbitInfo&
o2);
55bool operator!=(
const OrbitInfo& o1,
const OrbitInfo&
o2);
56bool operator<(
const OrbitInfo& o1,
const OrbitInfo&
o2);
MCH orbit info implementation.
friend bool operator==(const OrbitInfo &o1, const OrbitInfo &o2)
uint32_t getOrbit() const
uint8_t getLinkID() const
friend bool operator<(const OrbitInfo &o1, const OrbitInfo &o2)
uint16_t getFeeID() const
friend bool operator!=(const OrbitInfo &o1, const OrbitInfo &o2)
bool operator==(const DsChannelId &a, const DsChannelId &b)
bool operator<(const DsChannelId &a, const DsChannelId &b)
bool operator!=(const DsChannelId &a, const DsChannelId &b)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...