Changeset e3ab175 in git
- Timestamp:
- Jun 25, 2013, 5:10:52 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 2f82259
- Parents:
- 4600a41
- Location:
- examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/DelphesProMC.cpp
r4600a41 re3ab175 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 -
examples/DelphesProMC.sh
r4600a41 re3ab175 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.