- Timestamp:
- Jul 4, 2013, 2:45:47 PM (11 years ago)
- Location:
- trunk/readers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/readers/DelphesCMSFWLite.cpp
r1172 r1185 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 -
trunk/readers/DelphesProMC.cpp
r1182 r1185 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 -
trunk/readers/DelphesPythia8.cpp
r1184 r1185 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.