ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/HistoMaker.py
(Generate patch)

Comparing UserCode/VHbb/python/HistoMaker.py (file contents):
Revision 1.9 by nmohr, Thu Oct 18 13:30:32 2012 UTC vs.
Revision 1.10 by peller, Tue Oct 23 16:39:55 2012 UTC

# Line 77 | Line 77 | class HistoMaker:
77          Tree = input.Get(job.tree)
78          output.cd()
79          CuttedTree=Tree.CopyTree(treeCut)
80 <    
80 >        input.Close()
81 >        del input
82          # get all Histos at once
83          weightF=self.config.get('Weights',self.which_weightF)
84          for options in self.optionsList:
# Line 144 | Line 145 | class HistoMaker:
145                  hTree.SetBinError(1,uFlowErr)
146                  hTree.SetBinError(hTree.GetNbinsX(),oFlowErr)
147              hTree.SetDirectory(0)
147            input.Close()
148              hTreeList.append(hTree)
149              groupList.append(group)
150 <            
150 >        
151 >        output.Close()
152 >        del output
153          return hTreeList, groupList
154          
155  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines