hepmc - Diff between revs 266 and 280
Subversion Repositories:
| Rev 266 | Rev 280 | |||
|---|---|---|---|---|
| Line 42... | Line 42... | |||
| 42 | << i << std::endl; | 42 | << i << std::endl; | |
| 43 | call_pyevnt(); // generate one event with Pythia | 43 | call_pyevnt(); // generate one event with Pythia | |
| 44 | // pythia pyhepc routine convert common PYJETS in common HEPEVT | 44 | // pythia pyhepc routine convert common PYJETS in common HEPEVT | |
| 45 | call_pyhepc( 1 ); | 45 | call_pyhepc( 1 ); | |
| 46 | HepMC::GenEvent* evt = hepevtio.read_next_event(); | 46 | HepMC::GenEvent* evt = hepevtio.read_next_event(); | |
| - | 47 | // pythia uses GeV and mm | ||
| - | 48 | evt->set_units( HepMC::MomentumUnits::GeV, HepMC::PositionUnits::mm); | ||
| 47 | // set number of multi parton interactions | 49 | // set number of multi parton interactions | |
| 48 | evt->set_mpi( pypars.msti[31-1] ); | 50 | evt->set_mpi( pypars.msti[31-1] ); | |
| 49 | // | 51 | // | |
| 50 | //.......................make some copies | 52 | //.......................make some copies | |
| 51 | evt->print(out1); | 53 | evt->print(out1); | |
