Draw a Histogram from within a root Macro

Hi Chris,

you should specify the correct type of object you are reading from the file. In addition, you need to invoke the Draw method of TH1F/D: please refer to root.cern.ch/doc/master/classTH1F.html
Assuming that the histogram is a TH1F (it could be a TH1D, it depends on who wrote it):

      TFile f(newrootpath);
      TH1F* T = NULL;
      f.GetObject("pedestal", T);
      T.Draw();

Cheers,
D