15#ifndef GPUTPCGMSECTORTRACK_H
16#define GPUTPCGMSECTORTRACK_H
34 GPUd() float Alpha()
const {
return mAlpha; }
35 GPUd() uint8_t Sector()
const {
return mSector; }
36 GPUd() bool CSide()
const {
return mSector >= 18; }
37 GPUd() int32_t NClusters()
const {
return mNClusters; }
38 GPUd() int32_t PrevNeighbour()
const {
return mNeighbour[0]; }
39 GPUd() int32_t NextNeighbour()
const {
return mNeighbour[1]; }
40 GPUd() int32_t Neighbour(int32_t
i)
const {
return mNeighbour[
i]; }
41 GPUd() int32_t PrevSegmentNeighbour()
const {
return mSegmentNeighbour[0]; }
42 GPUd() int32_t NextSegmentNeighbour()
const {
return mSegmentNeighbour[1]; }
43 GPUd() int32_t SegmentNeighbour(int32_t
i)
const {
return mSegmentNeighbour[
i]; }
44 GPUd() int32_t AnyNeighbour(int32_t
i)
const
46 return (
i < 2) ? mSegmentNeighbour[
i] : mNeighbour[
i - 2];
49 GPUd() float X()
const {
return mParam.
mX; }
50 GPUd() float Y()
const {
return mParam.
mY; }
51 GPUd() float Z()
const {
return mParam.
mZ; }
56 GPUd() float QPt()
const {
return mParam.
mQPt; }
57 GPUd() float TZOffset()
const {
return mTZOffset; }
58 GPUd() uint8_t Leg()
const {
return mLeg; }
60 GPUd() int32_t LocalTrackId()
const {
return mLocalTrackId; }
61 GPUd()
void SetLocalTrackId(int32_t
v) { mLocalTrackId =
v; }
62 GPUd() int32_t ExtrapolatedTrackId(int32_t
n)
const {
return mExtrapolatedTrackIds[
n]; }
63 GPUd()
void SetExtrapolatedTrackId(int32_t
n, int32_t
v) { mExtrapolatedTrackIds[
n] =
v; }
64 GPUd() int32_t* ExtrapolatedTrackIds() {
return mExtrapolatedTrackIds; }
79 GPUd()
void UseParam2() { mParam = mParam2; }
81 GPUd() float X2()
const {
return mParam2.
mX; }
97 GPUd()
void SetPrevNeighbour(int32_t
v) { mNeighbour[0] =
v; }
98 GPUd()
void SetNextNeighbour(int32_t
v) { mNeighbour[1] =
v; }
99 GPUd()
void SetNeighbor(int32_t
v, int32_t
i) { mNeighbour[
i] =
v; }
100 GPUd()
void SetPrevSegmentNeighbour(int32_t
v) { mSegmentNeighbour[0] =
v; }
101 GPUd()
void SetNextSegmentNeighbour(int32_t
v) { mSegmentNeighbour[1] =
v; }
106 mParam.
mX = t.mParam.mX;
107 mParam.
mY = t.mParam.mY;
108 mParam.
mZ = t.mParam.mZ;
109 mParam.
mSinPhi = t.mParam.mSinPhi;
110 mParam.
mDzDs = t.mParam.mDzDs;
111 mParam.
mQPt = t.mParam.mQPt;
112 mParam.
mCosPhi = t.mParam.mCosPhi;
113 mParam.
mSecPhi = t.mParam.mSecPhi;
120 GPUd()
void CopyBaseTrackCov();
122 float mX, mY, mZ, mSinPhi, mDzDs, mQPt,
mCosPhi, mSecPhi;
123 float mC0, mC2, mC3, mC5, mC7, mC9, mC10, mC12, mC14;
134 int32_t mNeighbour[2];
135 int32_t mSegmentNeighbour[2];
136 int32_t mLocalTrackId;
137 int32_t mExtrapolatedTrackIds[2];
#define GPUCA_MAX_SIN_PHI
const GPUTPCTrack * sectorTr
float float GPUTPCGMBorderTrack float bool doCov
GPUd() int32_t SegmentNeighbour(int32_t i) const
GPUd() float Alpha() const
GPUd() int32_t NClusters() const
GPUd() void SetPrevNeighbour(int32_t v)
GPUd() float ClusterZTN() const
GPUd() int32_t NextSegmentNeighbour() const
GPUd() float MaxClusterZT() const
GPUd() int32_t PrevNeighbour() const
GPUd() int32_t *ExtrapolatedTrackIds()
float float float cosAlpha
GPUd() void SetExtrapolatedTrackId(int32_t n
GPUd() float ClusterZT0() const
GPUd() bool CSide() const
GPUd() uint8_t Leg() const
GPUd() int32_t PrevSegmentNeighbour() const
GPUd() void SetLeg(uint8_t v)
GPUd() void SetNClusters(int32_t v)
GPUd() int32_t LocalTrackId() const
float float float float GPUTPCGMBorderTrack float maxSinPhi const
GPUd() float TZOffset() const
GPUd() bool FilterErrors(const GPUTPCGMMerger *merger
GPUd() float SecPhi() const
GPUd() int32_t AnyNeighbour(int32_t i) const
GPUd() void SetNeighbor(int32_t v
GPUd() int32_t Neighbour(int32_t i) const
GPUd() void SetNextNeighbour(int32_t v)
GPUd() void SetPrevSegmentNeighbour(int32_t v)
GPUd() const GPUTPCTrack *OrigTrack() const
const GPUTPCTrack float int32_t sector
GPUd() uint8_t Sector() const
GPUd() int32_t ExtrapolatedTrackId(int32_t n) const
GPUd() float MinClusterZT() const
GPUd() int32_t NextNeighbour() const
GPUd() float SinPhi() const
GPUd() void SetGlobalSectorTrackCov()
GPUd() void SetLocalTrackId(int32_t v)
GPUd() void SetClusterZT(float v1
GPUd() float CosPhi() const
int32_t float float sinPhiMargin
GPUd() void SetNextSegmentNeighbour(int32_t v)
GPUd() float DzDs() const
GPUd() void CopyParamFrom(const GPUTPCGMSectorTrack &t)
GPUd() void SetX2(float v)
GLfloat GLfloat GLfloat alpha
GLboolean GLboolean GLboolean b
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLfloat GLfloat GLfloat v2