Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesROOT.cpp

    rc4106c9 re576ef60  
    126126    confReader = new ExRootConfReader;
    127127    confReader->ReadFile(argv[1]);
     128   
     129    maxEvents = confReader->GetInt("::MaxEvents", 0);
    128130
    129131    if(maxEvents < 0)
     
    176178      {
    177179   
     180        if(entry >= maxEvents) break;
    178181        treeReader->ReadEntry(entry);
    179 
     182       
    180183        // -- TBC need also to include event weights -- 
    181184       
Note: See TracChangeset for help on using the changeset viewer.