hepmc - Diff between revs 65 and 105
Subversion Repositories:
| Rev 65 | Rev 105 | |||
|---|---|---|---|---|
| Line 60... | Line 60... | |||
| 60 | hepevt_particle[0] = 0; | 60 | hepevt_particle[0] = 0; | |
| 61 | for ( int i1 = 1; i1 <= HEPEVT_Wrapper::number_entries(); ++i1 ) { | 61 | for ( int i1 = 1; i1 <= HEPEVT_Wrapper::number_entries(); ++i1 ) { | |
| 62 | hepevt_particle[i1] = build_particle(i1); | 62 | hepevt_particle[i1] = build_particle(i1); | |
| 63 | } | 63 | } | |
| 64 | std::set<GenVertex*> new_vertices; | 64 | std::set<GenVertex*> new_vertices; | |
| - | 65 | // | ||
| - | 66 | // Here we assume that the first two particles in the list | ||
| - | 67 | // are the incoming beam particles. | ||
| - | 68 | evt->set_beam_particles( hepevt_particle[1], hepevt_particle[2] ); | ||
| 65 | // | 69 | // | |
| 66 | // 3.+4. loop over HEPEVT particles AGAIN, this time creating vertices | 70 | // 3.+4. loop over HEPEVT particles AGAIN, this time creating vertices | |
| 67 | for ( int i = 1; i <= HEPEVT_Wrapper::number_entries(); ++i ) { | 71 | for ( int i = 1; i <= HEPEVT_Wrapper::number_entries(); ++i ) { | |
| 68 | // We go through and build EITHER the production or decay | 72 | // We go through and build EITHER the production or decay | |
| 69 | // vertex for each entry in hepevt, depending on the switch | 73 | // vertex for each entry in hepevt, depending on the switch | |
