Make Histograms configurable via properties
- Sep 20, 2024
-
-
-
ddd89b61
-
70e26b78
-
8d83ba0b
-
Marco Clemencic authoredbf201ba1
-
The default becomes thus the dynamic histograms with properties
bbf20ea8 -
Practically, the histograms are built at initialization time, and one can customiz title and axis via properties. E.g. for a 2D histogram declared with name "GaudiH2D", one can use properties GaudiH2D_Title, GaudiH2D_Axis0 and GaudiH2D_Axis1 and write code like : histo.GaudiH2D_Title = "title of my histogram" GaudiH2D_Axis0 = '(20, 0, 100)' GaudiH2D_Axis0 = '(20, 0, 100, "2nd axis")' in python
08646452 -
So far all axis of a given histogram had to have the same type This restriction is now removed Note a slight backward incompatibility for code implementing their own Axis Type of Input Types. Tests have been adapted and their is no known other cases.
8594bb6a
-