rest-for-physics / rest-for-physics/framework
TResAnalysisPlot feature required to allow stacking the histograms
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 19
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
There is a ROOT class named THStack. That class could be used to add the histograms in a given <plot and if an option stack="on" is enabled we then present the accumulated histograms one on top of each other.
https://root.cern.ch/doc/master/classTHStack.html
This is useful to understand the different contributions to the background and also get the idea of total contribution at once in a single histogram.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate TResAnalysisPlot and inspect how histograms are added to a plot. Read the ROOT THStack documentation linked in the issue, then identify the existing plot option handling and relevant tests, if present. Done means an enabled stack="on" option displays accumulated histograms while the default behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100