15#ifndef GPUTRDINTERFACEO2TRACK_H
16#define GPUTRDINTERFACEO2TRACK_H
26class GPUTPCGMMergedTrack;
27namespace gputpcgmmergertypes
29struct GPUTPCOuterParam;
64 for (int32_t
i = 0;
i < 5;
i++) {
67 for (int32_t
i = 0;
i < 15;
i++) {
74 GPUd()
o2::track::TrackLTIntegral& getLTIntegralOut() {
return mLTOut; }
75 GPUd() const
o2::track::TrackLTIntegral& getLTIntegralOut()
const {
return mLTOut; }
79 GPUdi() const
float* getPar()
const {
return getParams(); }
81 GPUdi() bool CheckNumericalQuality()
const {
return true; }
83 GPUdi()
void setPileUpDistance(uint8_t bwd, uint8_t fwd) { setUserField((((uint16_t)bwd) << 8) | fwd); }
84 GPUdi() bool hasPileUpInfo()
const {
return getUserField() != 0; }
85 GPUdi() bool hasPileUpInfoBothSides()
const {
return getPileUpDistanceBwd() > 0 && getPileUpDistanceFwd() > 0; }
86 GPUdi() uint8_t getPileUpDistanceBwd()
const {
return getUserField() >> 8; }
87 GPUdi() uint8_t getPileUpDistanceFwd()
const {
return getUserField() & 255; }
88 GPUdi() uint16_t getPileUpSpan()
const {
return ((uint16_t)getPileUpDistanceBwd()) + getPileUpDistanceFwd(); }
89 GPUdi() float getPileUpMean()
const {
return hasPileUpInfoBothSides() ? 0.5f * (getPileUpDistanceFwd() + getPileUpDistanceBwd()) : getPileUpDistanceFwd() + getPileUpDistanceBwd(); }
Header to collect LHC related constants.
o2::track::TrackParCov TrackParCov
Track Length and TOF integral.
GPUdi() uint16_t getPileUpSpan() const
GPUdDefault() trackInterface()=default
GPUdi() uint8_t getPileUpDistanceFwd() const
GPUdi() uint8_t getPileUpDistanceBwd() const
GPUd() trackInterface(const GPUTPCGMMergedTrack &trk)
o2::track::TrackParCov baseClass
GPUdi() float getPileUpTimeErrorMUS() const
GPUdi() float getPileUpMean() const
GPUdi() bool hasPileUpInfo() const
GPUdi() float getPileUpTimeShiftMUS() const
GPUdi() bool hasPileUpInfoBothSides() const
GLfloat GLfloat GLfloat alpha
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
constexpr double LHCBunchSpacingMUS
GPUd() const expr uint32_t MultivariatePolynomialHelper< Dim
Global TPC definitions and constants.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...