|
HepMC Reference DocumentationHepMC |
#include <GenEvent.h>
Public Member Functions | |
| particle_const_iterator (const std::map< int, HepMC::GenParticle * >::const_iterator &i) | |
| iterate over particles | |
| particle_const_iterator () | |
| particle_const_iterator (const particle_const_iterator &i) | |
| copy constructor | |
| virtual | ~particle_const_iterator () |
| particle_const_iterator & | operator= (const particle_const_iterator &i) |
| make a copy | |
| GenParticle * | operator * (void) const |
| return a pointer to GenParticle | |
| particle_const_iterator & | operator++ (void) |
| Pre-fix increment. | |
| particle_const_iterator | operator++ (int) |
| Post-fix increment. | |
| bool | operator== (const particle_const_iterator &a) const |
| equality | |
| bool | operator!= (const particle_const_iterator &a) const |
| inequality | |
Protected Attributes | |
| std::map< int, HepMC::GenParticle * >::const_iterator | m_map_iterator |
| const iterator to the GenParticle map | |
HepMC::GenEvent::particle_const_iterator is used to iterate over all particles in the event.
example_BuildEventFromScratch.cc, example_EventSelection.cc, and example_MyPythiaWithEventSelection.cc.
Definition at line 375 of file GenEvent.h.
| HepMC::GenEvent::particle_const_iterator::particle_const_iterator | ( | const std::map< int, HepMC::GenParticle * >::const_iterator & | i | ) | [inline] |
| HepMC::GenEvent::particle_const_iterator::particle_const_iterator | ( | ) | [inline] |
Definition at line 383 of file GenEvent.h.
| HepMC::GenEvent::particle_const_iterator::particle_const_iterator | ( | const particle_const_iterator & | i | ) | [inline] |
| virtual HepMC::GenEvent::particle_const_iterator::~particle_const_iterator | ( | ) | [inline, virtual] |
Definition at line 387 of file GenEvent.h.
| particle_const_iterator& HepMC::GenEvent::particle_const_iterator::operator= | ( | const particle_const_iterator & | i | ) | [inline] |
| GenParticle* HepMC::GenEvent::particle_const_iterator::operator * | ( | void | ) | const [inline] |
return a pointer to GenParticle
Definition at line 393 of file GenEvent.h.
References m_map_iterator.
| particle_const_iterator& HepMC::GenEvent::particle_const_iterator::operator++ | ( | void | ) | [inline] |
| particle_const_iterator HepMC::GenEvent::particle_const_iterator::operator++ | ( | int | ) | [inline] |
| bool HepMC::GenEvent::particle_const_iterator::operator== | ( | const particle_const_iterator & | a | ) | const [inline] |
| bool HepMC::GenEvent::particle_const_iterator::operator!= | ( | const particle_const_iterator & | a | ) | const [inline] |
std::map<int,HepMC::GenParticle*>::const_iterator HepMC::GenEvent::particle_const_iterator::m_map_iterator [protected] |
const iterator to the GenParticle map
Definition at line 409 of file GenEvent.h.
Referenced by operator *(), operator!=(), operator++(), operator=(), and operator==().
1.5.1-3