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