|
HepMC Reference DocumentationHepMC |
#include <GenVertex.h>
Public Member Functions | |
| edge_iterator () | |
| edge_iterator (const GenVertex &vtx, IteratorRange range=family) | |
| used to set limits on the iteration | |
| edge_iterator (const edge_iterator &p) | |
| copy | |
| virtual | ~edge_iterator () |
| edge_iterator & | operator= (const edge_iterator &p) |
| make a copy | |
| GenParticle * | operator * (void) const |
| return a pointer to a particle | |
| edge_iterator & | operator++ (void) |
| Pre-fix increment. | |
| edge_iterator | operator++ (int) |
| Post-fix increment. | |
| bool | operator== (const edge_iterator &a) const |
| equality | |
| bool | operator!= (const edge_iterator &a) const |
| inequality | |
| bool | is_parent () const |
| true if parent of root vtx | |
| bool | is_child () const |
| true if child of root vtx | |
| const GenVertex * | vertex_root () const |
| root vertex of this iteration | |
iterate over the family of edges connected to m_vertex begins with parents (incoming particles) then children (outgoing) This is not a recursive iterator ... it is a building block for the public iterators and is intended for internal use only. The acceptable Iterator Ranges are: family, parents, children
Definition at line 171 of file GenVertex.h.
| HepMC::GenVertex::edge_iterator::edge_iterator | ( | ) |
Definition at line 451 of file GenVertex.cc.
| HepMC::GenVertex::edge_iterator::edge_iterator | ( | const GenVertex & | vtx, | |
| IteratorRange | range = family | |||
| ) |
used to set limits on the iteration
Definition at line 455 of file GenVertex.cc.
References HepMC::ancestors, HepMC::children, HepMC::descendants, HepMC::family, HepMC::GenVertex::m_particles_in, HepMC::GenVertex::m_particles_out, and HepMC::parents.
| HepMC::GenVertex::edge_iterator::edge_iterator | ( | const edge_iterator & | p | ) |
| HepMC::GenVertex::edge_iterator::~edge_iterator | ( | ) | [virtual] |
Definition at line 510 of file GenVertex.cc.
| GenVertex::edge_iterator & HepMC::GenVertex::edge_iterator::operator= | ( | const edge_iterator & | p | ) |
| GenParticle * HepMC::GenVertex::edge_iterator::operator * | ( | void | ) | const |
| GenVertex::edge_iterator & HepMC::GenVertex::edge_iterator::operator++ | ( | void | ) |
Pre-fix increment.
Definition at line 527 of file GenVertex.cc.
References HepMC::family, HepMC::GenVertex::m_particles_in, HepMC::GenVertex::m_particles_out, and HepMC::parents.
| GenVertex::edge_iterator HepMC::GenVertex::edge_iterator::operator++ | ( | int | ) |
| bool HepMC::GenVertex::edge_iterator::operator== | ( | const edge_iterator & | a | ) | const [inline] |
| bool HepMC::GenVertex::edge_iterator::operator!= | ( | const edge_iterator & | a | ) | const [inline] |
| bool HepMC::GenVertex::edge_iterator::is_parent | ( | ) | const |
true if parent of root vtx
Definition at line 562 of file GenVertex.cc.
Referenced by HepMC::GenVertex::particle_iterator::advance_to_first_(), and HepMC::GenVertex::vertex_iterator::follow_edge_().
| bool HepMC::GenVertex::edge_iterator::is_child | ( | ) | const |
| const GenVertex * HepMC::GenVertex::edge_iterator::vertex_root | ( | ) | const [inline] |
1.5.1-3