sample code to plot spectrum using HROOT-0.7