Skip to content

Commit 35ddd10

Browse files
author
Szymon Pulawski
committed
FT0: fix type mismatch in ChannelData getters (uint → int)
1 parent 1e1c6e5 commit 35ddd10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • DataFormats/Detectors/FIT/FT0/include/DataFormatsFT0

DataFormats/Detectors/FIT/FT0/include/DataFormatsFT0/ChannelData.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ struct ChannelData {
7676
void print() const;
7777
void printLog() const;
7878
[[nodiscard]] uint8_t getChannelID() const { return ChId; }
79-
[[nodiscard]] uint16_t getTime() const { return CFDTime; }
80-
[[nodiscard]] uint16_t getAmp() const { return QTCAmpl; }
79+
[[nodiscard]] int16_t getTime() const { return CFDTime; }
80+
[[nodiscard]] int16_t getAmp() const { return QTCAmpl; }
8181

8282
bool operator==(ChannelData const& other) const
8383
{

0 commit comments

Comments
 (0)