Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtHepMCEvent.cpp
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | for ( iDaug = 0; iDaug < nDaug; iDaug++ ) { | ||||
int nDaugProducts = evtDaughter->getNDaug(); | int nDaugProducts = evtDaughter->getNDaug(); | ||||
if ( nDaugProducts > 0 ) { | if ( nDaugProducts > 0 ) { | ||||
// Recursively process daughter particles and add their vertices to the event | // Recursively process daughter particles and add their vertices to the event | ||||
this->addVertex( evtDaughter, genDaughter ); | this->addVertex( evtDaughter, genDaughter ); | ||||
} // Have daughter products | } // Have daughter products | ||||
} // hepMCDaughter != 0 | } // hepMCDaughter != nullptr | ||||
} // Loop over daughters | } // Loop over daughters | ||||
} | } | ||||
FourVector EvtHepMCEvent::getVertexCoord( EvtParticle* theParticle ) | FourVector EvtHepMCEvent::getVertexCoord( EvtParticle* theParticle ) | ||||
{ | { | ||||
FourVector vertexCoord( 0.0, 0.0, 0.0, 0.0 ); | FourVector vertexCoord( 0.0, 0.0, 0.0, 0.0 ); | ||||
Show All 19 Lines |