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
Merge request reports
Activity
FYI @mariakzurek and @scottmar
mentioned in issue #47 (closed)
Please register or sign in to reply