Fixed crashing analysis script.
-
When using GetYaxis() on a histogram, it has to be first drawn.
-
In this case DrawClone was replace by DrawCopy.
-
DrawCopy is used to draw and get the histogram from the lazy pointer.
modified: scripts/emcal_barrel_pi0_analysis.cxx