Skip to content

Correctly group histograms in ROOT files

Marco Clemencic requested to merge clemenci-master-patch-67730 into master

The previous version was using <component>/<hist_id> as histogram id in the ROOT file, but it is better to create a directory called <component> and store the object <hist_id> in it. If the histogram id contains /s, the corresponding directories are created too.

With !1234 (63917b20) histograms of tools are stored in subdirectories of the parent. For example, the histogram MyHist of the tool MyAlg.MyTool is stored in a ROOT file with the path MyAlg/MyTool/MyHist.

To-do:

  • add test
Edited by Marco Clemencic

Merge request reports