Skip to content

Make Histograms configurable via properties

Sebastien Ponce requested to merge sponce_customHisto into master

This is based on top of !1585 (merged), which should thus go first

Closes #206 (closed)

We introduce here 2 major improvements in Gaudi Histograms :

  • we allow histograms to have axis of various types rather than all axis being of the same type.
  • we allow histogram to be customized via properties for their title and axis definition
    • these Properties are named <HistoName>_Title and <HistoNaem>_Axis<N> (N being 0, 1 ...)
    • In case of non allowed characters in the HistoName part, they are replaced by a _. This is valid in particular for /, space or -

That second feature is allowed by replacing actual histograms by wrapper arund them (essentially an optional) which will only be initialized later, when properties are known.

For those not needing it, note that previous histograms are still available under the new name of Statichistogram, StaticWeigthedHistogram, ...

Edited by Sebastien Ponce

Merge request reports

Loading