Skip to content

Commit dc9dcc3

Browse files
authored
ITS: CellSeed forced cast to int for chi2
@mconcas @mpuccio is there a reason why there the `getChi2()` method casts the chi2 to int? Seems to me that this is a bit broken.
1 parent b75d643 commit dc9dcc3

File tree

1 file changed

+1
-1
lines changed
  • Detectors/ITSMFT/ITS/tracking/include/ITStracking

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/ITS/tracking/include/ITStracking/Cell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class CellSeed final : public o2::track::TrackParCovF
9797
GPUhd() void setFirstTrackletIndex(int trkl) { mTracklets[0] = trkl; };
9898
GPUhd() int getSecondTrackletIndex() const { return mTracklets[1]; };
9999
GPUhd() void setSecondTrackletIndex(int trkl) { mTracklets[1] = trkl; };
100-
GPUhd() int getChi2() const { return mChi2; };
100+
GPUhd() float getChi2() const { return mChi2; };
101101
GPUhd() void setChi2(float chi2) { mChi2 = chi2; };
102102
GPUhd() int getLevel() const { return mLevel; };
103103
GPUhd() void setLevel(int level) { mLevel = level; };

0 commit comments

Comments
 (0)