hepmc - Diff between revs 427 and 432
Subversion Repositories:
| Rev 427 | Rev 432 | |||
|---|---|---|---|---|
| Line 10... | Line 10... | |||
| 10 | #include "HepMC/HerwigWrapper.h" | 10 | #include "HepMC/HerwigWrapper.h" | |
| 11 | #include "HepMC/IO_HERWIG.h" | 11 | #include "HepMC/IO_HERWIG.h" | |
| 12 | #include "HepMC/GenEvent.h" | 12 | #include "HepMC/GenEvent.h" | |
| 13 | #include "HepMC/CompareGenEvent.h" | 13 | #include "HepMC/CompareGenEvent.h" | |
| 14 | #include "HepMC/HEPEVT_Wrapper.h" | 14 | #include "HepMC/HEPEVT_Wrapper.h" | |
| 15 | #include "HerwigHelper.h" | - | ||
| 16 | 15 | |||
| 17 | int main() { | 16 | int main() { | |
| 18 | // | 17 | // | |
| 19 | //........................................HEPEVT | 18 | //........................................HEPEVT | |
| 20 | // Herwig 6.4 uses HEPEVT with 4000 entries and 8-byte floating point | 19 | // Herwig 6.4 uses HEPEVT with 4000 entries and 8-byte floating point | |
| Line 77... | Line 76... | |||
| 77 | hwufne(); | 76 | hwufne(); | |
| 78 | HepMC::GenEvent* evt = hepevtio.read_next_event(); | 77 | HepMC::GenEvent* evt = hepevtio.read_next_event(); | |
| 79 | // herwig uses GeV and mm | 78 | // herwig uses GeV and mm | |
| 80 | evt->use_units( HepMC::Units::GEV, HepMC::Units::MM); | 79 | evt->use_units( HepMC::Units::GEV, HepMC::Units::MM); | |
| 81 | // set cross section information | 80 | // set cross section information | |
| 82 | evt->set_cross_section( getHerwigCrossSection(i) ); | - | ||
| - | 81 | evt->set_cross_section( HepMC::getHerwigCrossSection(i) ); | ||
| 83 | // add some information to the event | 82 | // add some information to the event | |
| 84 | evt->set_event_number(i); | 83 | evt->set_event_number(i); | |
| 85 | evt->set_signal_process_id(20); | 84 | evt->set_signal_process_id(20); | |
| 86 | // | 85 | // | |
| 87 | //.......................make some copies | 86 | //.......................make some copies | |
