spits out the graphs in a root file