|
[Rivet-svn] r4059 - in branches/2012-06-aidarivet: . binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Dec 6 12:49:02 GMT 2012
Author: hoeth Date: Thu Dec 6 12:49:02 2012 New Revision: 4059 Log: Added TGraphErrors support to root2flat Modified: branches/2012-06-aidarivet/ChangeLog branches/2012-06-aidarivet/bin/root2flat Modified: branches/2012-06-aidarivet/ChangeLog ============================================================================== --- branches/2012-06-aidarivet/ChangeLog Thu Dec 6 10:47:11 2012 (r4058) +++ branches/2012-06-aidarivet/ChangeLog Thu Dec 6 12:49:02 2012 (r4059) @@ -1,6 +1,7 @@ 2012-12-06 Hendrik Hoeth <hendrik.hoeth at cern.ch> * Added ATLAS_2012_I1188891 analysis + * Added TGraphErrors support to root2flat 2012-11-27 Hendrik Hoeth <hendrik.hoeth at cern.ch> Modified: branches/2012-06-aidarivet/bin/root2flat ============================================================================== --- branches/2012-06-aidarivet/bin/root2flat Thu Dec 6 10:47:11 2012 (r4058) +++ branches/2012-06-aidarivet/bin/root2flat Thu Dec 6 12:49:02 2012 (r4059) @@ -107,14 +107,14 @@ # Check if the curent object is a histogram elif f.Get(t_n).InheritsFrom("TH1") or f.Get(t_n).InheritsFrom("TProfile"): histos.append(t_n) - elif f.Get(t_n).InheritsFrom("TGraphAsymmErrors"): + elif f.Get(t_n).InheritsFrom("TGraphAsymmErrors") or f.Get(t_n).InheritsFrom("TGraphErrors"): tgraphs.append(t_n) # Also support graphs, histos stored in TCanvases elif f.Get(t_n).InheritsFrom("TCanvas"): for ci in f.Get(t_n).GetListOfPrimitives(): if ci.InheritsFrom("TH1") or ci.InheritsFrom("TProfile"): tcanvases.append((t_n,False,ci)) - elif ci.InheritsFrom("TGraphAsymmErrors"): + elif ci.InheritsFrom("TGraphAsymmErrors") or ci.InheritsFrom("TGraphErrors"): tcanvases.append((t_n,True,ci)) return subdirs, histos, tgraphs, tcanvases
More information about the Rivet-svn mailing list |