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

TResAnalysisPlot feature required to allow stacking the histograms

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

Nobody has claimed this yet.

enhancement
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.