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 (HepMC3::GenVertexPtr O)
 Returns children of vertex, i.e. outgoing particles.
 
std::vector< HepMC3::ConstGenParticlePtr > children (HepMC3::ConstGenVertexPtr O)
 Returns children of const vertex, i.e. outgoing particles.
 
std::vector< HepMC3::GenVertexPtr > children (HepMC3::GenParticlePtr O)
 Returns children of particle, i.e. the end vertex.
 
std::vector< HepMC3::ConstGenVertexPtr > children (HepMC3::ConstGenParticlePtr O)
 Returns children of const particle, i.e. the end vertex.
 
std::vector< HepMC3::GenParticlePtr > grandchildren (HepMC3::GenParticlePtr O)
 Returns grandchildren of particle, i.e. the outgoing particles of the end vertex.
 
std::vector< HepMC3::ConstGenParticlePtr > grandchildren (HepMC3::ConstGenParticlePtr O)
 Returns grandchildren of const particle, i.e. the outgoing particles of the end vertex.
 
std::vector< HepMC3::GenVertexPtr > grandchildren (HepMC3::GenVertexPtr O)
 Returns grandchildren of vertex, i.e. the end vertices of the outgoing particles.
 
std::vector< HepMC3::ConstGenVertexPtr > grandchildren (HepMC3::ConstGenVertexPtr O)
 Returns grandchildren of const vertex, i.e. the end vertices of the outgoing particles.
 
std::vector< HepMC3::GenParticlePtr > parents (HepMC3::GenVertexPtr O)
 Returns parents of vertex, i.e. incoming particles.
 
std::vector< HepMC3::ConstGenParticlePtr > parents (HepMC3::ConstGenVertexPtr O)
 Returns parents of const vertex, i.e. incoming particles.
 
std::vector< HepMC3::GenVertexPtr > parents (HepMC3::GenParticlePtr O)
 Returns parents of particle, i.e. production vertex.
 
std::vector< HepMC3::ConstGenVertexPtr > parents (HepMC3::ConstGenParticlePtr O)
 Returns parents of const particle, i.e. production vertex.
 
std::vector< HepMC3::GenParticlePtr > grandparents (HepMC3::GenParticlePtr O)
 Returns grandparents of particle, i.e. incoming particles of production vertex.
 
std::vector< HepMC3::ConstGenParticlePtr > grandparents (HepMC3::ConstGenParticlePtr O)
 Returns grandparents of const particle, i.e. incoming particles of production vertex.
 
std::vector< HepMC3::GenVertexPtr > grandparents (HepMC3::GenVertexPtr O)
 Returns grandparents of vertex, i.e. production vertices of incoming particles.
 
std::vector< HepMC3::ConstGenVertexPtr > grandparents (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 (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 (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 (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 (O obj)
 Returns ancestors of the other type, i.e. vertices for particle and particles for vertex.
 
std::vector< HepMC3::ConstGenParticlePtr > descendant_particles (HepMC3::ConstGenVertexPtr obj)
 Return descendant particles.
 
std::vector< HepMC3::GenParticlePtr > descendant_particles (HepMC3::GenVertexPtr obj)
 Return descendant particles.
 
std::vector< HepMC3::ConstGenVertexPtr > descendant_vertices (HepMC3::ConstGenParticlePtr obj)
 Return descendant vertices.
 
std::vector< HepMC3::GenVertexPtr > descendant_vertices (HepMC3::GenParticlePtr obj)
 Return descendant vertices.
 
std::vector< HepMC3::ConstGenParticlePtr > ancestor_particles (HepMC3::ConstGenVertexPtr obj)
 Return ancestor particles.
 
std::vector< HepMC3::GenParticlePtr > ancestor_particles (HepMC3::GenVertexPtr obj)
 Return ancestor particles.
 
std::vector< HepMC3::ConstGenVertexPtr > ancestor_vertices (HepMC3::ConstGenParticlePtr obj)
 Return ancestor vertices.
 
std::vector< HepMC3::GenVertexPtr > ancestor_vertices (HepMC3::GenParticlePtr obj)
 Return ancestor vertices.
 
std::vector< HepMC3::ConstGenParticlePtr > descendant_particles (HepMC3::ConstGenParticlePtr obj)
 Return descendant particles.
 
std::vector< HepMC3::GenParticlePtr > descendant_particles (HepMC3::GenParticlePtr obj)
 Return descendant particles.
 
std::vector< HepMC3::ConstGenVertexPtr > descendant_vertices (HepMC3::ConstGenVertexPtr obj)
 Return descendant vertices.
 
std::vector< HepMC3::GenVertexPtr > descendant_vertices (HepMC3::GenVertexPtr obj)
 Return descendant vertices.
 
std::vector< HepMC3::ConstGenParticlePtr > ancestor_particles (HepMC3::ConstGenParticlePtr obj)
 Return ancestor particles.
 
std::vector< HepMC3::GenParticlePtr > ancestor_particles (HepMC3::GenParticlePtr obj)
 Return ancestor particles.
 
std::vector< HepMC3::ConstGenVertexPtr > ancestor_vertices (HepMC3::ConstGenVertexPtr obj)
 Return ancestor vertices.
 
std::vector< HepMC3::GenVertexPtr > ancestor_vertices (HepMC3::GenVertexPtr obj)
 Return ancestor vertices.
 
std::vector< HepMC3::GenParticlePtr > children_particles (HepMC3::GenVertexPtr O)
 Return children particles.
 
std::vector< HepMC3::ConstGenParticlePtr > children_particles (HepMC3::ConstGenVertexPtr O)
 Return children particles.
 
std::vector< HepMC3::GenVertexPtr > children_vertices (HepMC3::GenParticlePtr O)
 Return children vertices.
 
std::vector< HepMC3::ConstGenVertexPtr > children_vertices (HepMC3::ConstGenParticlePtr O)
 Return children vertices.
 
std::vector< HepMC3::GenParticlePtr > grandchildren_particles (HepMC3::GenParticlePtr O)
 Return grandchildren particles.
 
std::vector< HepMC3::ConstGenParticlePtr > grandchildren_particles (HepMC3::ConstGenParticlePtr O)
 Return grandchildren particles.
 
std::vector< HepMC3::GenVertexPtr > grandchildren_vertices (HepMC3::GenVertexPtr O)
 Return grandchildren vertices.
 
std::vector< HepMC3::ConstGenVertexPtr > grandchildren_vertices (HepMC3::ConstGenVertexPtr O)
 Return grandchildren vertices.
 
std::vector< HepMC3::GenParticlePtr > parent_particles (HepMC3::GenVertexPtr O)
 Return parent particles.
 
std::vector< HepMC3::ConstGenParticlePtr > parent_particles (HepMC3::ConstGenVertexPtr O)
 Return parent particles.
 
std::vector< HepMC3::GenVertexPtr > parent_vertices (HepMC3::GenParticlePtr O)
 Return parent vertices.
 
std::vector< HepMC3::ConstGenVertexPtr > parent_vertices (HepMC3::ConstGenParticlePtr O)
 Return parent vertices.
 
std::vector< HepMC3::GenParticlePtr > grandparent_particles (HepMC3::GenParticlePtr O)
 Return grandparent particles.
 
std::vector< HepMC3::ConstGenParticlePtr > grandparent_particles (HepMC3::ConstGenParticlePtr O)
 Return grandparent particles.
 
std::vector< HepMC3::GenVertexPtr > grandparent_vertices (HepMC3::GenVertexPtr O)
 Return grandparent vertices.
 
std::vector< HepMC3::ConstGenVertexPtr > grandparent_vertices (HepMC3::ConstGenVertexPtr O)
 Return grandparent vertices.