16#ifndef TRACKINGITSU_INCLUDE_CACELL_H_
17#define TRACKINGITSU_INCLUDE_CACELL_H_
18#ifndef GPUCA_GPUCODE_DEVICE
35 GPUd()
Cell(const
int, const
int, const
int, const
int, const
int);
37 GPUhd()
int getFirstClusterIndex()
const {
return mFirstClusterIndex; };
38 GPUhd()
int getSecondClusterIndex()
const {
return mSecondClusterIndex; };
39 GPUhd()
int getThirdClusterIndex()
const {
return mThirdClusterIndex; };
40 GPUhd()
int getFirstTrackletIndex()
const {
return mFirstTrackletIndex; };
41 GPUhd()
int getSecondTrackletIndex()
const {
return mSecondTrackletIndex; };
42 GPUhd()
int getLevel()
const {
return mLevel; };
47 const int mFirstClusterIndex;
48 const int mSecondClusterIndex;
49 const int mThirdClusterIndex;
50 const int mFirstTrackletIndex;
51 const int mSecondTrackletIndex;
56 : mFirstClusterIndex{0},
57 mSecondClusterIndex{0},
58 mThirdClusterIndex{0},
59 mFirstTrackletIndex{0},
60 mSecondTrackletIndex{0},
66GPUdi()
Cell::
Cell(const
int firstClusterIndex, const
int secondClusterIndex, const
int thirdClusterIndex,
67 const
int firstTrackletIndex, const
int secondTrackletIndex)
68 : mFirstClusterIndex{firstClusterIndex},
69 mSecondClusterIndex{secondClusterIndex},
70 mThirdClusterIndex{thirdClusterIndex},
71 mFirstTrackletIndex{firstTrackletIndex},
72 mSecondTrackletIndex{secondTrackletIndex},
87 mClusters[innerL + 0] =
cl0;
88 mClusters[innerL + 1] =
cl1;
89 mClusters[innerL + 2] =
cl2;
90 mTracklets[0] =
trkl0;
91 mTracklets[1] =
trkl1;
93 GPUhd()
int getFirstClusterIndex()
const {
return mClusters[getUserField()]; };
94 GPUhd()
int getSecondClusterIndex()
const {
return mClusters[getUserField() + 1]; };
95 GPUhd()
int getThirdClusterIndex()
const {
return mClusters[getUserField() + 2]; };
96 GPUhd()
int getFirstTrackletIndex()
const {
return mTracklets[0]; };
97 GPUhd()
void setFirstTrackletIndex(
int trkl) { mTracklets[0] = trkl; };
98 GPUhd()
int getSecondTrackletIndex()
const {
return mTracklets[1]; };
99 GPUhd()
void setSecondTrackletIndex(
int trkl) { mTracklets[1] = trkl; };
110 int mClusters[7] = {-1, -1, -1, -1, -1, -1, -1};
111 int mTracklets[2] = {-1, -1};
118 printf(
"trkl: %d, %d\t lvl: %d\t chi2: %f\n", mTracklets[0], mTracklets[1], mLevel, mChi2);
int int int int int trkl1
GPUhd() int getLevel() const
GPUhd() void setSecondTrackletIndex(int trkl)
GPUhd() void setChi2(float chi2)
int int int int int o2::track::TrackParCovF float chi2
GPUhdi() void printCell() const
GPUhdDefault() CellSeed()=default
GPUhd() void setFirstTrackletIndex(int trkl)
GPUhd() int *getClusters()
int int int int int o2::track::TrackParCovF float mLevel
GPUhd() int *getLevelPtr()
GPUhd() int getFirstTrackletIndex() const
GPUhd() int getSecondClusterIndex() const
GPUhd() int getChi2() const
GPUhd() int getThirdClusterIndex() const
GPUhd() int getCluster(int i) const
GPUhd() int getSecondTrackletIndex() const
int int int int int o2::track::TrackParCovF & tpc
int int int int int o2::track::TrackParCovF float mChi2
GPUd() CellSeed(int innerL
GPUhd() void setLevel(int level)
GPUhd() int *getLevelPtr()
GPUhd() void setLevel(const int level)
GPUhd() int getFirstTrackletIndex() const
GPUhd() int getThirdClusterIndex() const
GPUhd() int getSecondClusterIndex() const
GPUhd() int getLevel() const
GPUhd() int getSecondTrackletIndex() const
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
TrackParametrizationWithError< float > TrackParCovF
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...