Changeset e576ef60 in git for readers/DelphesROOT.cpp
- Timestamp:
- Apr 3, 2017, 5:37:42 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 24d49b4
- Parents:
- 81bedba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesROOT.cpp
r81bedba re576ef60 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.