HepMC3 event record library
Data Structures | Namespaces | Typedefs
Relatives.h File Reference

Detailed Description

Defines helper classes to extract relatives of an input GenParticle or GenVertex.

Definition in file Relatives.h.

#include "HepMC3/GenParticle.h"
#include "HepMC3/GenVertex.h"
+ Include dependency graph for Relatives.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  RelativesInterface< T >
 wrap a templated class that implements Relatives Since we need to template the functionality on the input type (GenParticlePtr, ConstGenVertexPtr etc.) we must wrap a class that has a templated operator in this that provides the Relatives interface and calls through to the underlying template method. More...
 
class  Recursive< T >
 
class  Relatives
 Define a common interface that all Relatives objects will satisfy Relatives provides an operator to get the relatives of a range of different GenObject types. The following are examples. More...
 
class  RelativesInterface< T >
 wrap a templated class that implements Relatives Since we need to template the functionality on the input type (GenParticlePtr, ConstGenVertexPtr etc.) we must wrap a class that has a templated operator in this that provides the Relatives interface and calls through to the underlying template method. More...
 
class  Recursive< T >
 
class  Recursive< T >::hasId
 
class  Recursive< T >::idInterface< ID_type >
 
class  _parents
 Provides operator to find the parent particles of a Vertex or Particle. More...
 
class  _children
 Provides operator to find the child particles of a Vertex or Particle. More...
 

Namespaces

 HepMC3
 HepMC3 main namespace.
 

Typedefs

using Parents = RelativesInterface< _parents >
 alias of _parents wrapped in the Relatives interface More...
 
using Children = RelativesInterface< _children >
 alias of _children wrapped in the Relatives interface More...
 
using Ancestors = RelativesInterface< Recursive< _parents > >
 Ancestors is an alias to Recursion applied to the _parents and wrapped in the Relatives interface. More...
 
using Descendants = RelativesInterface< Recursive< _children > >
 Descendants is an alias to Recursion applied to the _children and wrapped in the Relatives interface. More...