Changes in / [9330b7b:accffb9] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesROOT.cpp
r9330b7b raccffb9 85 85 Candidate *candidate; 86 86 Int_t pdgCode; 87 Int_t maxEvents; 87 88 88 89 const Double_t c_light = 2.99792458E8; … … 125 126 confReader = new ExRootConfReader; 126 127 confReader->ReadFile(argv[1]); 128 129 maxEvents = confReader->GetInt("::MaxEvents", 0); 130 131 if(maxEvents < 0) 132 { 133 throw runtime_error("MaxEvents must be zero or positive"); 134 } 127 135 128 136 modularDelphes = new Delphes("Delphes"); … … 170 178 { 171 179 180 if(entry >= maxEvents) break; 172 181 treeReader->ReadEntry(entry); 173 182
Note:
See TracChangeset
for help on using the changeset viewer.