CMS 3D CMS Logo

GenHIEvent.cc

Go to the documentation of this file.
00001 
00002 #include "SimDataFormats/HiGenData/interface/GenHIEvent.h"
00003 using namespace edm;
00004 
00005 SubEvent GenHIEvent::getSubEvent(int sub_id) const {
00006    SubEvent evt = evts_[sub_id]; 
00007    return evt;
00008 }
00009 
00010 std::vector<HepMC::GenParticle*> GenHIEvent::getParticles(const HepMC::GenEvent& evt, int sub_id) const {
00011    std::vector<HepMC::GenParticle*> particles = getSubEvent(sub_id).getParticles(evt);
00012    return particles;
00013 }
00014 
00015 const HepMC::GenVertex* GenHIEvent::getVertex(const HepMC::GenEvent& evt, int sub_id) const {
00016    const HepMC::GenVertex* vertex = getSubEvent(sub_id).getVertex(evt);
00017    return vertex;
00018 }
00019 
00020 
00021 

Generated on Tue Jun 9 17:46:46 2009 for CMSSW by  doxygen 1.5.4