Changes in readers/DelphesSTDHEP.cpp [b8b29f1:341014c] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesSTDHEP.cpp
rb8b29f1 r341014c 17 17 */ 18 18 19 #include <stdexcept>20 19 #include <iostream> 21 20 #include <sstream> 21 #include <stdexcept> 22 22 23 23 #include <signal.h> 24 24 25 #include "TApplication.h" 25 26 #include "TROOT.h" 26 #include "TApplication.h" 27 27 28 #include "TDatabasePDG.h" 28 29 #include "TFile.h" 30 #include "TLorentzVector.h" 29 31 #include "TObjArray.h" 32 #include "TParticlePDG.h" 30 33 #include "TStopwatch.h" 31 #include "TDatabasePDG.h" 32 #include "TParticlePDG.h" 33 #include "TLorentzVector.h" 34 35 #include "modules/Delphes.h" 34 36 35 #include "classes/DelphesClasses.h" 37 36 #include "classes/DelphesFactory.h" 38 37 #include "classes/DelphesSTDHEPReader.h" 39 38 #include "modules/Delphes.h" 39 40 #include "ExRootAnalysis/ExRootProgressBar.h" 41 #include "ExRootAnalysis/ExRootTreeBranch.h" 40 42 #include "ExRootAnalysis/ExRootTreeWriter.h" 41 #include "ExRootAnalysis/ExRootTreeBranch.h"42 #include "ExRootAnalysis/ExRootProgressBar.h"43 43 44 44 using namespace std; … … 74 74 if(argc < 3) 75 75 { 76 cout << " Usage: " << appName << " config_file" << " output_file" << " [input_file(s)]" << endl; 76 cout << " Usage: " << appName << " config_file" 77 << " output_file" 78 << " [input_file(s)]" << endl; 77 79 cout << " config_file - configuration file in Tcl format," << endl; 78 80 cout << " output_file - output file in ROOT format," << endl; … … 177 179 reader->Clear(); 178 180 readStopWatch.Start(); 179 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && 180 reader->ReadBlock(factory, allParticleOutputArray, 181 stableParticleOutputArray, partonOutputArray) && !interrupted) 181 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted) 182 182 { 183 183 if(reader->EventReady()) … … 215 215 216 216 ++i; 217 } 218 while(i < argc); 217 } while(i < argc); 219 218 220 219 modularDelphes->FinishTask();
Note:
See TracChangeset
for help on using the changeset viewer.