You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Detectors/ITSMFT/ITS/tracking/include/ITStracking/Cell.h
+19-5Lines changed: 19 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@
16
16
#ifndef TRACKINGITSU_INCLUDE_CACELL_H_
17
17
#defineTRACKINGITSU_INCLUDE_CACELL_H_
18
18
19
+
#include<array>
20
+
19
21
#include"ITStracking/Constants.h"
20
22
#include"GPUCommonDef.h"
21
23
@@ -43,12 +45,17 @@ class Cell final
43
45
intmLevel{constants::UnusedIndex};
44
46
};
45
47
48
+
template <int nLayers>
46
49
classCellSeedfinal : public o2::track::TrackParCovF
47
50
{
48
51
public:
49
-
GPUhdDefault() CellSeed() = default;
52
+
GPUhd() CellSeed()
53
+
{
54
+
mClusters.fill(constants::UnusedIndex);
55
+
}
50
56
GPUhd() CellSeed(int innerL, int cl0, int cl1, int cl2, int trkl0, int trkl1, o2::track::TrackParCovF& tpc, float chi2) : o2::track::TrackParCovF(tpc), mChi2(chi2), mLevel(1)
51
57
{
58
+
mClusters.fill(constants::UnusedIndex);
52
59
setUserField(innerL);
53
60
mClusters[innerL + 0] = cl0;
54
61
mClusters[innerL + 1] = cl1;
@@ -74,18 +81,25 @@ class CellSeed final : public o2::track::TrackParCovF
0 commit comments