hepmc - Diff between revs 255 and 264
Subversion Repositories:
| Rev 255 | Rev 264 | |||
|---|---|---|---|---|
| Line 412... | Line 412... | |||
| 412 | if ( orig_evt ) orig_evt->remove_barcode( *part2 ); | 412 | if ( orig_evt ) orig_evt->remove_barcode( *part2 ); | |
| 413 | if ( new_evt ) new_evt->set_barcode( *part2, | 413 | if ( new_evt ) new_evt->set_barcode( *part2, | |
| 414 | (*part2)->barcode() ); | 414 | (*part2)->barcode() ); | |
| 415 | } | 415 | } | |
| 416 | } | 416 | } | |
| - | 417 | } | ||
| - | 418 | |||
| - | 419 | void GenVertex::change_parent_event_( GenEvent* new_evt ) | ||
| - | 420 | { | ||
| - | 421 | // | ||
| - | 422 | // this method is for use with swap | ||
| - | 423 | // particles and vertices have already been exchanged, | ||
| - | 424 | // but the backpointer needs to be fixed | ||
| - | 425 | //GenEvent* orig_evt = m_event; | ||
| - | 426 | m_event = new_evt; | ||
| 417 | } | 427 | } | |
| 418 | 428 | |||
| 419 | ///////////// | 429 | ///////////// | |
| 420 | // Static // | 430 | // Static // | |
| 421 | ///////////// | 431 | ///////////// | |
