ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MuJetAnalysis/AnalysisTools/scripts/countSuccessfulEvents.py
(Generate patch)

Comparing UserCode/MuJetAnalysis/AnalysisTools/scripts/countSuccessfulEvents.py (file contents):
Revision 1.2 by pivarski, Wed Oct 6 01:26:21 2010 UTC vs.
Revision 1.3 by pivarski, Wed Oct 13 01:09:39 2010 UTC

# Line 3 | Line 3 | import sys, re, glob
3   fileList, crabResDir = sys.argv[1:]
4   execfile(fileList)
5  
6 < fileNameRE = re.compile("output_([0-9]+)_.*")
6 > fileNameRE = re.compile("output_([0-9]+).*root")
7   fileNameRE2 = re.compile("patified_([0-9]+).root")
8   lineRE = re.compile("\[E\( ([0-9]+) \)E\]")
9  
# Line 19 | Line 19 | for fileName in source.fileNames:
19      index = int(m.group(1))
20      if index in indexes:
21          raise Exception, "Index %s appears for the second time in \"%s\"." % (m.group(0), fileName)
22 +    # indexes[index] = True
23      
24      try:
25          f = open("%s/CMSSW_%d.stdout" % (crabResDir, index))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines