#include <SimDataFormats/HiGenData/interface/GenHIEvent.h>
Public Member Functions | |
GenHIEvent (std::vector< SubEvent > evs, int x=0) | |
GenHIEvent () | |
int | getNsubs () const |
std::vector< HepMC::GenParticle * > | getParticles (const HepMC::GenEvent &evt, int sub_id) const |
SubEvent | getSubEvent (int sub_id) const |
const HepMC::GenVertex * | getVertex (const HepMC::GenEvent &evt, int sub_id) const |
virtual | ~GenHIEvent () |
Private Attributes | |
std::vector< SubEvent > | evts_ |
int | sel_ |
Definition at line 11 of file GenHIEvent.h.
edm::GenHIEvent::GenHIEvent | ( | ) | [inline] |
virtual edm::GenHIEvent::~GenHIEvent | ( | ) | [inline, virtual] |
int edm::GenHIEvent::getNsubs | ( | ) | const [inline] |
std::vector< HepMC::GenParticle * > GenHIEvent::getParticles | ( | const HepMC::GenEvent & | evt, | |
int | sub_id | |||
) | const |
Definition at line 10 of file GenHIEvent.cc.
References edm::SubEvent::getParticles(), and getSubEvent().
00010 { 00011 std::vector<HepMC::GenParticle*> particles = getSubEvent(sub_id).getParticles(evt); 00012 return particles; 00013 }
Definition at line 5 of file GenHIEvent.cc.
References evts_.
Referenced by getParticles(), and getVertex().
const HepMC::GenVertex * GenHIEvent::getVertex | ( | const HepMC::GenEvent & | evt, | |
int | sub_id | |||
) | const |
Definition at line 15 of file GenHIEvent.cc.
References getSubEvent(), and edm::SubEvent::getVertex().
00015 { 00016 const HepMC::GenVertex* vertex = getSubEvent(sub_id).getVertex(evt); 00017 return vertex; 00018 }
std::vector<SubEvent> edm::GenHIEvent::evts_ [private] |
int edm::GenHIEvent::sel_ [private] |
Definition at line 23 of file GenHIEvent.h.