// $Id: StdEventVChildren.cc,v 1.2 2002/06/09 12:10:39 boudreau Exp $ // -*- C++ -*- // // ---------------------------------------------------------------------- // StdEventVChildren.cc // L. Garren // get children of a specific GenVertex // ---------------------------------------------------------------------- #include #include "CLHEP/StdHep/StdEvent.hh" #include "CLHEP/HepMC/GenParticle.h" #include "CLHEP/HepMC/GenVertex.h" namespace StdHep { std::vector StdEvent::children(HepMC::GenVertex* gv) const { // if this vertex is valid, get the children if( gv ) return gv->listChildren(); // otherwise, return an empty vector std::vector v; return v; } } // StdHep