Changeset a0538b9 in git
- Timestamp:
- Jul 4, 2013, 2:45:47 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- c82c0d1
- Parents:
- ad78364
- Location:
- readers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesCMSFWLite.cpp
rad78364 ra0538b9 201 201 if(numberOfEvents <= 0) continue; 202 202 203 ExRootProgressBar progressBar(numberOfEvents - 1); 203 // ExRootProgressBar progressBar(numberOfEvents - 1); 204 ExRootProgressBar progressBar(-1); 204 205 205 206 // Loop over all objects … … 217 218 treeWriter->Clear(); 218 219 219 progressBar.Update(eventCounter );220 progressBar.Update(eventCounter, eventCounter); 220 221 ++eventCounter; 221 222 } 223 224 progressBar.Update(eventCounter, eventCounter, kTRUE); 222 225 progressBar.Finish(); 223 226 -
readers/DelphesProMC.cpp
rad78364 ra0538b9 154 154 TObjArray *allParticleOutputArray = 0, *stableParticleOutputArray = 0, *partonOutputArray = 0; 155 155 Int_t i; 156 Long64_t e ntry, allEntries;156 Long64_t eventCounter, numberOfEvents; 157 157 158 158 if(argc < 4) … … 213 213 } 214 214 215 allEntries = inputFile->getEvents();;216 217 if( allEntries <= 0) continue;218 219 ExRootProgressBar progressBar( allEntries - 1);215 numberOfEvents = inputFile->getEvents();; 216 217 if(numberOfEvents <= 0) continue; 218 219 ExRootProgressBar progressBar(numberOfEvents - 1); 220 220 221 221 // Loop over all objects … … 223 223 treeWriter->Clear(); 224 224 readStopWatch.Start(); 225 for(e ntry = 0; entry < allEntries && !interrupted; ++entry)225 for(eventCounter = 0; eventCounter < numberOfEvents && !interrupted; ++eventCounter) 226 226 { 227 227 if(inputFile->next() != 0) continue; … … 243 243 244 244 readStopWatch.Start(); 245 progressBar.Update(e ntry);245 progressBar.Update(eventCounter); 246 246 } 247 248 progressBar.Update(eventCounter, eventCounter, kTRUE); 247 249 progressBar.Finish(); 248 250 -
readers/DelphesPythia8.cpp
rad78364 ra0538b9 206 206 pythia->init(); 207 207 208 ExRootProgressBar progressBar(numberOfEvents - 1); 208 // ExRootProgressBar progressBar(numberOfEvents - 1); 209 ExRootProgressBar progressBar(-1); 209 210 210 211 // Loop over all events … … 245 246 246 247 readStopWatch.Start(); 247 progressBar.Update(eventCounter); 248 } 249 248 progressBar.Update(eventCounter, eventCounter); 249 } 250 251 progressBar.Update(eventCounter, eventCounter, kTRUE); 250 252 progressBar.Finish(); 251 253
Note:
See TracChangeset
for help on using the changeset viewer.