16#ifndef TRACKINGITSU_INCLUDE_CACELL_H_
17#define TRACKINGITSU_INCLUDE_CACELL_H_
28 GPUhd()
int getFirstClusterIndex()
const {
return mFirstClusterIndex; };
29 GPUhd()
int getSecondClusterIndex()
const {
return mSecondClusterIndex; };
30 GPUhd()
int getThirdClusterIndex()
const {
return mThirdClusterIndex; };
31 GPUhd()
int getFirstTrackletIndex()
const {
return mFirstTrackletIndex; };
32 GPUhd()
int getSecondTrackletIndex()
const {
return mSecondTrackletIndex; };
33 GPUhd()
int getLevel()
const {
return mLevel; };
38 int mFirstClusterIndex{constants::UnusedIndex};
39 int mSecondClusterIndex{constants::UnusedIndex};
40 int mThirdClusterIndex{constants::UnusedIndex};
41 int mFirstTrackletIndex{constants::UnusedIndex};
42 int mSecondTrackletIndex{constants::UnusedIndex};
43 int mLevel{constants::UnusedIndex};
53 mClusters.fill(constants::UnusedIndex);
55 mClusters[innerL + 0] =
cl0;
56 mClusters[innerL + 1] =
cl1;
57 mClusters[innerL + 2] =
cl2;
58 mTracklets[0] =
trkl0;
59 mTracklets[1] =
trkl1;
67 GPUhd()
int getFirstClusterIndex()
const {
return mClusters[getUserField()]; };
68 GPUhd()
int getSecondClusterIndex()
const {
return mClusters[getUserField() + 1]; };
69 GPUhd()
int getThirdClusterIndex()
const {
return mClusters[getUserField() + 2]; };
70 GPUhd()
int getFirstTrackletIndex()
const {
return mTracklets[0]; };
71 GPUhd()
void setFirstTrackletIndex(
int trkl) { mTracklets[0] = trkl; };
72 GPUhd()
int getSecondTrackletIndex()
const {
return mTracklets[1]; };
73 GPUhd()
void setSecondTrackletIndex(
int trkl) { mTracklets[1] = trkl; };
74 GPUhd() float getChi2()
const {
return mChi2; };
76 GPUhd()
int getLevel()
const {
return mLevel; };
79 GPUhd() auto& getClusters() {
return mClusters; }
80 GPUhd()
int getCluster(
int i)
const {
return mClusters[
i]; }
83 printf(
"cell: %d, %d\t lvl: %d\t chi2: %f\tcls: [", mTracklets[0], mTracklets[1], mLevel, mChi2);
84 for (
int i = 0;
i < nLayers; ++
i) {
85 printf(
"%d", mClusters[
i]);
86 if (
i < nLayers - 1) {
95 int mLevel = constants::UnusedIndex;
96 std::array<int, 2> mTracklets = constants::helpers::initArray<int, 2, constants::UnusedIndex>();
97 std::array<int, nLayers> mClusters = constants::helpers::initArray<int, nLayers, constants::UnusedIndex>();
GPUhd() int getSecondClusterIndex() const
GPUhd() CellSeed(int innerL
GPUhdDefault() CellSeed()=default
GPUhd() auto &getClusters()
GPUhd() void setSecondTrackletIndex(int trkl)
GPUhd() int *getLevelPtr()
GPUhd() int getThirdClusterIndex() const
GPUhd() void setLevel(int level)
GPUhd() int getFirstTrackletIndex() const
GPUhd() int getSecondTrackletIndex() const
GPUhd() float getChi2() const
int int int int int o2::track::TrackParCovF float chi2
GPUhd() int getLevel() const
int int int int int trkl1
GPUhd() void setChi2(float chi2)
GPUhdDefault() CellSeed(const CellSeed &)=default
int int int int int o2::track::TrackParCovF & tpc
GPUhd() int getCluster(int i) const
GPUhd() void printCell() const
GPUhd() void setFirstTrackletIndex(int trkl)
GPUhd() int *getLevelPtr()
GPUhd() int getFirstClusterIndex() const
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 ...