ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/scripts/makeBNTreePlot.py
(Generate patch)

Comparing UserCode/OSUT3Analysis/Configuration/scripts/makeBNTreePlot.py (file contents):
Revision 1.10 by wulsin, Wed Jun 12 09:03:07 2013 UTC vs.
Revision 1.11 by wulsin, Wed Jun 12 09:10:31 2013 UTC

# Line 58 | Line 58 | def RunOnCondor(arguments, split_dataset
58      return
59  
60  
61 < watch = TStopwatch()
61 > watch  = TStopwatch()
62 > watch1 = TStopwatch()
63 >
64  
65   parser = OptionParser()
66   parser = set_commandline_arguments(parser)
# Line 99 | Line 101 | if not arguments.quickMerge:
101              #chain trees together
102              ch = TChain("OSUAnalysis/"+hist['channel']+"/BNTree_"+hist['channel'])
103              ch.Add(condor_dir + "/" + dataset + "/hist_*.root")
104 <            print "Looping over chain with # entries = %f" % ch.GetEntries()  
104 >            print "Looping over chain with # entries = %f; time = " % ch.GetEntries()  
105 >            watch1.Stop(); watch1.Print(); watch1.Start()
106              
107              outputFile = TFile(condor_dir + "/" + dataset + ".root", "UPDATE")
108              if not outputFile or outputFile.IsZombie():  print "Could not open file: %s/%s.root" % (condor_dir, dataset)  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines