rest-for-physics / rest-for-physics/framework

Update the way cuts are introduced inside `TRestDataSet` so that we can use `TRestCut`.

Open
#388 0 comments 0 reactions 2 assignees View on GitHub

@IAntolin is already working on this.

Since Mar 9, 2023.

Dominant language
C++
Stars
19
Forks
14
PR merge metrics
No merged PRs in 30d

Description

The following issue should introduce the use of TRestCut inside the TRestDataSet definition.

This way we could define our config file as:

<TRestDataSet ...>
....
<TRestCut>
  <cut name="cc1" value="XX>10 AND XX<90"/>
  <cut name="cc2" value="sAna_ThresholdIntegral<100e3"/>
</TRestCut>
...

</TRestDataSet>

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.