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

Add a fix to solve few problems that may led to an invalid XML

Open
#363 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

There are other places where > needs to be used, for example inside the globalCut definition, inside TRestAnalysisPlot, the condition value can be something like >10. This could be solved by adding new optional fields greaterThan, lowerThan and equals.

This is done in a similar way inside TRestDataSet.

We also need to fix the command field inside TRestTask so that we can write plot.CombinedCanvas() instead of plot->CombinedCanvas().

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 by inspecting the globalCut definition, TRestAnalysisPlot condition values, and the command field in TRestTask; compare the existing TRestDataSet handling described in its documentation. Done means these cases produce valid XML and allow plot.CombinedCanvas() syntax instead of plot->CombinedCanvas().

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.