Drawing multiple histogramms into a Canvas, the first histogram will define the axis range in both x & y.
Is there an elegant way – I know how to do it non-elegantly – to set the maximum(minimum) of the y-axis to the highest maximum from all histograms, such that all histograms are completely visible at the same time without further need for readjusting scales?
Somehow I am getting in trouble since I want to read histograms from files from a TChain and adding them to the stack as shown below, the code always produces a seg fault
It seems to me that the objects disappear when the file is closed, even when introduce another Clone statement.
The problem did not arise when I just used the histograms since I made a DrawCopy() . Probably something stupid I am overlooking.