hepmc - Diff between revs 427 and 432
Subversion Repositories:
| Rev 427 | Rev 432 | |||
|---|---|---|---|---|
| Line 49... | Line 49... | |||
| 49 | // define the units (Pythia uses GeV and mm) | 49 | // define the units (Pythia uses GeV and mm) | |
| 50 | evt->use_units(HepMC::Units::GEV, HepMC::Units::MM); | 50 | evt->use_units(HepMC::Units::GEV, HepMC::Units::MM); | |
| 51 | // set number of multi parton interactions | 51 | // set number of multi parton interactions | |
| 52 | evt->set_mpi( pypars.msti[31-1] ); | 52 | evt->set_mpi( pypars.msti[31-1] ); | |
| 53 | // set cross section information | 53 | // set cross section information | |
| 54 | evt->set_cross_section( getPythiaCrossSection() ); | - | ||
| - | 54 | evt->set_cross_section( HepMC::getPythiaCrossSection() ); | ||
| 55 | // | 55 | // | |
| 56 | //.......................USER WOULD PROCESS EVENT HERE | 56 | //.......................USER WOULD PROCESS EVENT HERE | |
| 57 | // | 57 | // | |
| 58 | // we also need to delete the created event from memory | 58 | // we also need to delete the created event from memory | |
| 59 | delete evt; | 59 | delete evt; | |
