hepmc

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/trunk/fio/ @ 104  →  /trunk/fio/ @ 105
/trunk/fio/IO_HERWIG.cc
@@ -121,6 +121,10 @@
}
std::set<GenVertex*> new_vertices;
//
// Here we assume that the first two particles in the list
// are the incoming beam particles.
evt->set_beam_particles( hepevt_particle[1], hepevt_particle[2] );
//
// 3. We need to take special care with the hard process
// vertex. The problem we are trying to avoid is when the
// partons entering the hard process also have daughters from
/trunk/fio/IO_HEPEVT.cc
@@ -63,6 +63,10 @@
}
std::set<GenVertex*> new_vertices;
//
// Here we assume that the first two particles in the list
// are the incoming beam particles.
evt->set_beam_particles( hepevt_particle[1], hepevt_particle[2] );
//
// 3.+4. loop over HEPEVT particles AGAIN, this time creating vertices
for ( int i = 1; i <= HEPEVT_Wrapper::number_entries(); ++i ) {
// We go through and build EITHER the production or decay