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