Changin the name of an existed histogram

___Hello everyone,
I have two histograms named with the same name (object name I guess) but they illustrate different things. This happened because I use the same code for two processes in pythia (mass reconstruction for Higgs and mass recostruction for Z). However I want to change the name of the one histogram, since all histograms contain the name “Higgs”. So I want to change that to “Z” instead of “Higgs”. How can I do that??
Thank you , have a nice day!
Please read tips for efficient and successful posting and posting code

_ROOT Version: Root 6.14.04
_Platform: Ubuntu 18.04.2 LTS
_Compiler: g++



This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.