Changeset 1146 in svn
- Timestamp:
- Jun 25, 2013, 5:10:52 PM (12 years ago)
- Location:
- trunk/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/DelphesProMC.cpp
r1140 r1146 64 64 65 65 element->ProcessID = mutableEvent->process_id(); 66 element->MPI = 1;67 element->Weight = 1.0;66 element->MPI = mutableEvent->mpi(); 67 element->Weight = mutableEvent->weight(); 68 68 element->Scale = mutableEvent->scale(); 69 69 element->AlphaQED = mutableEvent->alpha_qed(); … … 182 182 treeWriter = new ExRootTreeWriter(outputFile, "Delphes"); 183 183 184 branchEvent = treeWriter->NewBranch("Event", LHEFEvent::Class());184 branchEvent = treeWriter->NewBranch("Event", HepMCEvent::Class()); 185 185 186 186 confReader = new ExRootConfReader; … … 237 237 238 238 inputFile->close(); 239 delete inputFile; 239 240 } 240 241 -
trunk/examples/DelphesProMC.sh
r1140 r1146 2 2 INC="-I$PROMC/include -I$PROMC/src" 3 3 4 LIB=" -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"4 LIB="$PROMC/src/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz" 5 5 6 g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp $PROMC/src/*.cc6 g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp 7 7
Note:
See TracChangeset
for help on using the changeset viewer.