Changes in readers/DelphesLHEF.cpp [341014c:abcacdb] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesLHEF.cpp
r341014c rabcacdb 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/DelphesLHEFReader.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; … … 180 178 reader->Clear(); 181 179 readStopWatch.Start(); 182 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted) 180 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && 181 reader->ReadBlock(factory, allParticleOutputArray, 182 stableParticleOutputArray, partonOutputArray) && !interrupted) 183 183 { 184 184 if(reader->EventReady()) … … 218 218 219 219 ++i; 220 } while(i < argc); 220 } 221 while(i < argc); 221 222 222 223 modularDelphes->FinishTask();
Note:
See TracChangeset
for help on using the changeset viewer.