Fork me on GitHub

Changeset fc2ef70 in git


Ignore:
Timestamp:
Nov 23, 2021, 12:28:40 PM (3 years ago)
Author:
Robert Schoefbeck <robert.schoefbeck@…>
Parents:
9a7ea36
Message:

Fix eventCounter/skipEvents bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesCMSFWLite.cpp

    r9a7ea36 rfc2ef70  
    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.