HepMC3 event record library: Relatives.cc File Reference

HepMC3 event record library

Namespaces | Functions
Relatives.cc File Reference

## Detailed Description

Implementation of Relatives class.

Definition in file Relatives.cc.

`#include "HepMC3/Relatives.h"`
Include dependency graph for Relatives.cc:

Go to the source code of this file.

## Namespaces
namespace | HepMC3
| HepMC3 main namespace.

## Functions
std::vector< HepMC3::GenParticlePtr > | children (const HepMC3::GenVertexPtr &O)
| Returns children of vertex, i.e. outgoing particles.
std::vector< HepMC3::ConstGenParticlePtr > | children (const HepMC3::ConstGenVertexPtr &O)
| Returns children of const vertex, i.e. outgoing particles.
std::vector< HepMC3::GenVertexPtr > | children (const HepMC3::GenParticlePtr &O)
| Returns children of particle, i.e. the end vertex.
std::vector< HepMC3::ConstGenVertexPtr > | children (const HepMC3::ConstGenParticlePtr &O)
| Returns children of const particle, i.e. the end vertex.
std::vector< HepMC3::GenParticlePtr > | grandchildren (const HepMC3::GenParticlePtr &O)
| Returns grandchildren of particle, i.e. the outgoing particles of the end vertex.
std::vector< HepMC3::ConstGenParticlePtr > | grandchildren (const HepMC3::ConstGenParticlePtr &O)
| Returns grandchildren of const particle, i.e. the outgoing particles of the end vertex.
std::vector< HepMC3::GenVertexPtr > | grandchildren (const HepMC3::GenVertexPtr &O)
| Returns grandchildren of vertex, i.e. the end vertices of the outgoing particles.
std::vector< HepMC3::ConstGenVertexPtr > | grandchildren (const HepMC3::ConstGenVertexPtr &O)
| Returns grandchildren of const vertex, i.e. the end vertices of the outgoing particles.
std::vector< HepMC3::GenParticlePtr > | parents (const HepMC3::GenVertexPtr &O)
| Returns parents of vertex, i.e. incoming particles.
std::vector< HepMC3::ConstGenParticlePtr > | parents (const HepMC3::ConstGenVertexPtr &O)
| Returns parents of const vertex, i.e. incoming particles.
std::vector< HepMC3::GenVertexPtr > | parents (const HepMC3::GenParticlePtr &O)
| Returns parents of particle, i.e. production vertex.
std::vector< HepMC3::ConstGenVertexPtr > | parents (const HepMC3::ConstGenParticlePtr &O)
| Returns parents of const particle, i.e. production vertex.
std::vector< HepMC3::GenParticlePtr > | grandparents (const HepMC3::GenParticlePtr &O)
| Returns grandparents of particle, i.e. incoming particles of production vertex.
std::vector< HepMC3::ConstGenParticlePtr > | grandparents (const HepMC3::ConstGenParticlePtr &O)
| Returns grandparents of const particle, i.e. incoming particles of production vertex.
std::vector< HepMC3::GenVertexPtr > | grandparents (const HepMC3::GenVertexPtr &O)
| Returns grandparents of vertex, i.e. production vertices of incoming particles.
std::vector< HepMC3::ConstGenVertexPtr > | grandparents (const HepMC3::ConstGenVertexPtr &O)
| Returns grandparents of const vertex, i.e. production vertices of incoming particles.
template<class O>
std::vector< O > | descendants_of_same_type (const O &obj)
| Returns descendands of the same type, i.e. vertices for vertex and particles for particle.
template<class O, class R>
std::vector< R > | descendants_of_other_type (const O &obj)
| Returns descendands of the other type, i.e. vertices for particle and particles for vertex.
template<class O>
std::vector< O > | ancestors_of_same_type (const O &obj)
| Returns ancestors of the same type, i.e. vertices for vertex and particles for particle.
template<class O, class R>
std::vector< R > | ancestors_of_other_type (const O &obj)
| Returns ancestors of the other type, i.e. vertices for particle and particles for vertex.
std::vector< HepMC3::ConstGenParticlePtr > | descendant_particles (const HepMC3::ConstGenVertexPtr &obj)
| Return descendant particles.
std::vector< HepMC3::GenParticlePtr > | descendant_particles (const HepMC3::GenVertexPtr &obj)
| Return descendant particles.
std::vector< HepMC3::ConstGenVertexPtr > | descendant_vertices (const HepMC3::ConstGenParticlePtr &obj)
| Return descendant vertices.
std::vector< HepMC3::GenVertexPtr > | descendant_vertices (const HepMC3::GenParticlePtr &obj)
| Return descendant vertices.
std::vector< HepMC3::ConstGenParticlePtr > | ancestor_particles (const HepMC3::ConstGenVertexPtr &obj)
| Return ancestor particles.
std::vector< HepMC3::GenParticlePtr > | ancestor_particles (const HepMC3::GenVertexPtr &obj)
| Return ancestor particles.
std::vector< HepMC3::ConstGenVertexPtr > | ancestor_vertices (const HepMC3::ConstGenParticlePtr &obj)
| Return ancestor vertices.
std::vector< HepMC3::GenVertexPtr > | ancestor_vertices (const HepMC3::GenParticlePtr &obj)
| Return ancestor vertices.
std::vector< HepMC3::ConstGenParticlePtr > | descendant_particles (const HepMC3::ConstGenParticlePtr &obj)
| Return descendant particles.
std::vector< HepMC3::GenParticlePtr > | descendant_particles (const HepMC3::GenParticlePtr &obj)
| Return descendant particles.
std::vector< HepMC3::ConstGenVertexPtr > | descendant_vertices (const HepMC3::ConstGenVertexPtr &obj)
| Return descendant vertices.
std::vector< HepMC3::GenVertexPtr > | descendant_vertices (const HepMC3::GenVertexPtr &obj)
| Return descendant vertices.
std::vector< HepMC3::ConstGenParticlePtr > | ancestor_particles (const HepMC3::ConstGenParticlePtr &obj)
| Return ancestor particles.
std::vector< HepMC3::GenParticlePtr > | ancestor_particles (const HepMC3::GenParticlePtr &obj)
| Return ancestor particles.
std::vector< HepMC3::ConstGenVertexPtr > | ancestor_vertices (const HepMC3::ConstGenVertexPtr &obj)
| Return ancestor vertices.
std::vector< HepMC3::GenVertexPtr > | ancestor_vertices (const HepMC3::GenVertexPtr &obj)
| Return ancestor vertices.
std::vector< HepMC3::GenParticlePtr > | children_particles (const HepMC3::GenVertexPtr &O)
| Return children particles.
std::vector< HepMC3::ConstGenParticlePtr > | children_particles (const HepMC3::ConstGenVertexPtr &O)
| Return children particles.
std::vector< HepMC3::GenVertexPtr > | children_vertices (const HepMC3::GenParticlePtr &O)
| Return children vertices.
std::vector< HepMC3::ConstGenVertexPtr > | children_vertices (const HepMC3::ConstGenParticlePtr &O)
| Return children vertices.
std::vector< HepMC3::GenParticlePtr > | grandchildren_particles (const HepMC3::GenParticlePtr &O)
| Return grandchildren particles.
std::vector< HepMC3::ConstGenParticlePtr > | grandchildren_particles (const HepMC3::ConstGenParticlePtr &O)
| Return grandchildren particles.
std::vector< HepMC3::GenVertexPtr > | grandchildren_vertices (const HepMC3::GenVertexPtr &O)
| Return grandchildren vertices.
std::vector< HepMC3::ConstGenVertexPtr > | grandchildren_vertices (const HepMC3::ConstGenVertexPtr &O)
| Return grandchildren vertices.
std::vector< HepMC3::GenParticlePtr > | parent_particles (const HepMC3::GenVertexPtr &O)
| Return parent particles.
std::vector< HepMC3::ConstGenParticlePtr > | parent_particles (const HepMC3::ConstGenVertexPtr &O)
| Return parent particles.
std::vector< HepMC3::GenVertexPtr > | parent_vertices (const HepMC3::GenParticlePtr &O)
| Return parent vertices.
std::vector< HepMC3::ConstGenVertexPtr > | parent_vertices (const HepMC3::ConstGenParticlePtr &O)
| Return parent vertices.
std::vector< HepMC3::GenParticlePtr > | grandparent_particles (const HepMC3::GenParticlePtr &O)
| Return grandparent particles.
std::vector< HepMC3::ConstGenParticlePtr > | grandparent_particles (const HepMC3::ConstGenParticlePtr &O)
| Return grandparent particles.
std::vector< HepMC3::GenVertexPtr > | grandparent_vertices (const HepMC3::GenVertexPtr &O)
| Return grandparent vertices.
std::vector< HepMC3::ConstGenVertexPtr > | grandparent_vertices (const HepMC3::ConstGenVertexPtr &O)
| Return grandparent vertices.