Fork me on GitHub

Changeset 0c0c9af in git for readers


Ignore:
Timestamp:
Nov 29, 2021, 4:16:18 PM (3 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
78ce8d1, d612dec, dd263e4
Parents:
0b8551f
git-author:
schoef <robert.schoefbeck@…> (11/29/21 16:16:18)
git-committer:
GitHub <noreply@…> (11/29/21 16:16:18)
Message:

Fix eventCounter/skipEvents bug (#101)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesCMSFWLite.cpp

    r0b8551f r0c0c9af  
    406406      for(event.toBegin(); !event.atEnd() && !interrupted && (maxEvents <= 0 || eventCounter-skipEvents < maxEvents); ++event)
    407407      {
    408         if(eventCounter > skipEvents){
     408        if(eventCounter >= skipEvents){
    409409          ConvertInput(event, eventCounter, branchEvent, branchWeight, factory,
    410410            allParticleOutputArray, stableParticleOutputArray, partonOutputArray, firstEvent);
Note: See TracChangeset for help on using the changeset viewer.