Changeset 341014c in git for readers/DelphesHepMC.cpp
- Timestamp:
- Feb 12, 2019, 9:29:17 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- 6455202
- Parents:
- 45e58be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesHepMC.cpp
r45e58be 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/DelphesHepMCReader.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; … … 178 180 reader->Clear(); 179 181 readStopWatch.Start(); 180 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && 181 reader->ReadBlock(factory, allParticleOutputArray, 182 stableParticleOutputArray, partonOutputArray) && !interrupted) 182 while((maxEvents <= 0 || eventCounter - skipEvents < maxEvents) && reader->ReadBlock(factory, allParticleOutputArray, stableParticleOutputArray, partonOutputArray) && !interrupted) 183 183 { 184 184 if(reader->EventReady()) … … 217 217 218 218 ++i; 219 } 220 while(i < argc); 219 } while(i < argc); 221 220 222 221 modularDelphes->FinishTask();
Note:
See TracChangeset
for help on using the changeset viewer.