hepmc - Diff between revs 168 and 220
Subversion Repositories:
| Rev 168 | Rev 220 | |||
|---|---|---|---|---|
| Line 56... | Line 56... | |||
| 56 | return m_particle_to_end_vertex[p]; | 56 | return m_particle_to_end_vertex[p]; | |
| 57 | } | 57 | } | |
| 58 | 58 | |||
| 59 | inline void TempParticleMap::addEndParticle( GenParticle* p, int& end_vtx_code ) | 59 | inline void TempParticleMap::addEndParticle( GenParticle* p, int& end_vtx_code ) | |
| 60 | { | 60 | { | |
| 61 | ++m_counter; | - | ||
| 62 | m_particle_order[m_counter] = p; | - | ||
| - | 61 | //++m_counter; | ||
| - | 62 | m_particle_order[p->barcode()] = p; | ||
| 63 | m_particle_to_end_vertex[p] = end_vtx_code; | 63 | m_particle_to_end_vertex[p] = end_vtx_code; | |
| 64 | } | 64 | } | |
| 65 | 65 | |||
| 66 | } // HepMC | 66 | } // HepMC | |
| 67 | 67 | |||
