17 path = dir.GetPath().
split(
':/', 1)[-1]
20 keylist = dir.GetListOfKeys()
26 if obj.IsA().InheritsFrom(ROOT.TH2.Class())
or obj.IsA().InheritsFrom(ROOT.TProfile.Class())
or "fficiency" in obj.GetName()
or 'RecoFraction' in obj.GetName()
or 'purity' in obj.GetName()
or "PtResol" in obj.GetName()
or "PtScale" in obj.GetName()
or "Prof" in obj.GetName()
or "Fit" in obj.GetName():
29 if obj.IsA().InheritsFrom(ROOT.TH1.Class()) :
32 ii = 1.*obj.Integral()
37 pathdir.WriteTObject( obj , hname ,
"WriteDelete" )
40 if obj.IsA().InheritsFrom(ROOT.TDirectory.Class()):