Skip to content

Commit 1e2d266

Browse files
sbysiakshahor02
authored andcommitted
Fix in calibration: int8_t->int16_t
1 parent 6409649 commit 1e2d266

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Detectors/FIT/FT0/calibration/include/FT0Calibration/FT0CalibrationInfoObject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class FT0CalibrationInfoObject
2828
void setChannelIndex(uint8_t channel) { mChannelIndex = channel; }
2929
[[nodiscard]] uint8_t getChannelIndex() const { return mChannelIndex; }
3030

31-
void setTime(int8_t time) { mTime = time; }
32-
[[nodiscard]] int8_t getTime() const { return mTime; }
31+
void setTime(int16_t time) { mTime = time; }
32+
[[nodiscard]] int16_t getTime() const { return mTime; }
3333
void setAmp(int16_t amp) { mAmp = amp; }
3434
[[nodiscard]] int16_t getAmp() const { return mAmp; }
3535

Detectors/FIT/FV0/calibration/include/FV0Calibration/FV0CalibrationInfoObject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class FV0CalibrationInfoObject
2828
void setChannelIndex(uint8_t channel) { mChannelIndex = channel; }
2929
[[nodiscard]] uint8_t getChannelIndex() const { return mChannelIndex; }
3030

31-
void setTime(int8_t time) { mTime = time; }
32-
[[nodiscard]] int8_t getTime() const { return mTime; }
31+
void setTime(int16_t time) { mTime = time; }
32+
[[nodiscard]] int16_t getTime() const { return mTime; }
3333
void setCharge(int16_t charge) { mCharge = charge; }
3434
[[nodiscard]] int16_t getCharge() const { return mCharge; }
3535

0 commit comments

Comments
 (0)