Hello rooters,
I have several histograms under TList in a root file which I would like to scale each by a factor. Is there a way to scale them all at once without calling the histograms one by one?
ROOT Version:_ 5
Hello rooters,
I have several histograms under TList in a root file which I would like to scale each by a factor. Is there a way to scale them all at once without calling the histograms one by one?
ROOT Version:_ 5
No there is no such tool. A TList is a very general container which can contain any TObject. The Scale() method is specific to histograms. You should retrieve the histograms in a loop and scale them.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.