rest-for-physics / rest-for-physics/rawlib

`TRestRawSignal` should use unsigned short instead of signed short

Open
#115 0 comments 1 reaction 0 assignees View on GitHub

@lobis is already working on this.

Since Aug 8, 2023.

  • #116 by @lobis — open
Dominant language
C++
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This has been discussed a few times already: signal data should be stored as unsigned integer instead of a signed integer as it better represents ADC units.

The change is easy to do but it might break many things so it should be done carefully.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TRestRawSignal entry point and inspect linked pull request #116 to understand the proposed type change. Audit the affected signal-data consumers for signed-value assumptions and confirm that the change does not break supported binary formats or processing routines.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.