Skip to content

Commit

Permalink
Merge pull request #303 from amanmdesai/patch-2
Browse files Browse the repository at this point in the history
Fix: counting number of events when using chunks
  • Loading branch information
kjvbrt authored Jul 17, 2023
2 parents 092c9e1 + 1283d34 commit c4d1de2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/FCCAnalysisRun.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,9 @@ def runFinal(rdfModule):
flist = glob.glob(indirpath + '/chunk*.root')
for filepath in flist:
print(' ' + filepath)
processEvents[process_id], eventsTTree[process_id] = get_entries(filepath)
chunkProcessEvents, chunkEventsTTree = get_entries(filepath)
processEvents[process_id] += chunkProcessEvents
eventsTTree[process_id] += chunkEventsTTree
fileListRoot.push_back(filepath)
processList[process_id] = fileListRoot

Expand Down

0 comments on commit c4d1de2

Please sign in to comment.