hepmc - Diff between revs 521 and 537
Subversion Repositories:
| Rev 521 | Rev 537 | |||
|---|---|---|---|---|
| Line 595... | Line 595... | |||
| 595 | bool GenEvent::set_beam_particles(std::pair<HepMC::GenParticle*, HepMC::GenParticle*> const & bp) { | 595 | bool GenEvent::set_beam_particles(std::pair<HepMC::GenParticle*, HepMC::GenParticle*> const & bp) { | |
| 596 | return set_beam_particles(bp.first,bp.second); | 596 | return set_beam_particles(bp.first,bp.second); | |
| 597 | } | 597 | } | |
| 598 | 598 | |||
| 599 | void GenEvent::write_units( std::ostream & os ) const { | 599 | void GenEvent::write_units( std::ostream & os ) const { | |
| 600 | os << " Momenutm units:" << std::setw(8) << name(momentum_unit()); | - | ||
| - | 600 | os << " Momentum units:" << std::setw(8) << name(momentum_unit()); | ||
| 601 | os << " Position units:" << std::setw(8) << name(length_unit()); | 601 | os << " Position units:" << std::setw(8) << name(length_unit()); | |
| 602 | os << std::endl; | 602 | os << std::endl; | |
| 603 | } | 603 | } | |
| 604 | 604 | |||
| 605 | void GenEvent::write_cross_section( std::ostream& os ) const | 605 | void GenEvent::write_cross_section( std::ostream& os ) const | |
