Fix issue of multiple declaration of same objects in the saved C macros
TRatioPlot defines three pads named upper_pad, lower_pad and top_pad. If single canvas contains two or more TRatioPlots, the saved C macro declares same object variable names resulting in runtime error. This fix add counter suffix to pads (like for histograms) resulting in unique pad names.
Loading
Please register or sign in to comment