42 const auto start =
static_cast<float>(this->getTimeStamp());
43 const float half = (float)this->getTimeStampError() / 2.f;
44 return {
start + half, half};
48 GPUhdi() bool isCompatible(const TimeEstBC& o) const noexcept
50 return this->upper() > o.lower() && o.upper() > this->lower();
54 GPUhdi() bool isContainedIn(const TimeEstBC& o) const noexcept
56 return this->lower() >= o.lower() && this->upper() <= o.upper();
59 GPUhdi() TimeEstBC& operator+=(const TimeEstBC& o) noexcept
65 GPUhdi() TimeEstBC operator+(const TimeEstBC& o) const noexcept
67 TimeEstBC
res = *
this;
78 return (t > (
max -
e)) ?
max : t +
e;
92 const TimeStampType lo = o2::gpu::CAMath::Max(this->lower(), o.lower());
93 const TimeStampType hi = o2::gpu::CAMath::Min(this->upper(), o.upper());
94 this->setTimeStamp(lo);