autogains now can read charge spectra from hist.root