Changeset 341014c in git for converters/root2pileup.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
-
converters/root2pileup.cpp
r45e58be r341014c 17 17 */ 18 18 19 #include <stdexcept>20 19 #include <iostream> 21 20 #include <sstream> 21 #include <stdexcept> 22 22 #include <string> 23 23 24 24 #include <signal.h> 25 25 26 #include "TApplication.h" 26 27 #include "TROOT.h" 27 #include "TApplication.h"28 28 29 #include "TClonesArray.h" 29 30 #include "TFile.h" 30 #include "TClonesArray.h"31 31 32 32 #include "classes/DelphesClasses.h" 33 33 #include "classes/DelphesPileUpWriter.h" 34 34 35 #include "ExRootAnalysis/ExRootProgressBar.h" 35 36 #include "ExRootAnalysis/ExRootTreeReader.h" 36 #include "ExRootAnalysis/ExRootProgressBar.h"37 37 38 38 using namespace std; … … 64 64 if(argc < 3) 65 65 { 66 cout << " Usage: " << appName << " output_file" << " input_file(s)" << endl; 66 cout << " Usage: " << appName << " output_file" 67 << " input_file(s)" << endl; 67 68 cout << " output_file - output binary pile-up file," << endl; 68 69 cout << " input_file(s) - input file(s) in ROOT format." << endl; … … 108 109 109 110 itParticle->Reset(); 110 while((particle = static_cast<GenParticle *>(itParticle->Next())))111 while((particle = static_cast<GenParticle *>(itParticle->Next()))) 111 112 { 112 113 writer->WriteParticle(particle->PID, … … 114 115 particle->Px, particle->Py, particle->Pz, particle->E); 115 116 } 116 117 117 118 writer->WriteEntry(); 118 119
Note:
See TracChangeset
for help on using the changeset viewer.