Changeset 5ca3d52 in git
- Timestamp:
- Jul 4, 2013, 1:03:29 AM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- c41c262
- Parents:
- 996c4ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/DelphesCMSFWLite.cpp
r996c4ad r5ca3d52 136 136 TObjArray *allParticleOutputArray = 0, *stableParticleOutputArray = 0, *partonOutputArray = 0; 137 137 Int_t i; 138 Long64_t e ntry, allEntries;138 Long64_t eventCounter, numberOfEvents; 139 139 140 140 if(argc < 4) … … 197 197 fwlite::Event event(inputFile); 198 198 199 allEntries = event.size();200 201 if( allEntries <= 0) continue;202 203 ExRootProgressBar progressBar( allEntries - 1);199 numberOfEvents = event.size(); 200 201 if(numberOfEvents <= 0) continue; 202 203 ExRootProgressBar progressBar(numberOfEvents - 1); 204 204 205 205 // Loop over all objects 206 e ntry= 0;206 eventCounter = 0; 207 207 modularDelphes->Clear(); 208 208 treeWriter->Clear(); … … 217 217 treeWriter->Clear(); 218 218 219 progressBar.Update(e ntry);220 ++e ntry;219 progressBar.Update(eventCounter); 220 ++eventCounter; 221 221 } 222 222 progressBar.Finish();
Note:
See TracChangeset
for help on using the changeset viewer.