HepMC3 event record library
Public Member Functions | Static Public Attributes | Private Attributes
RelativesInterface< T > Class Template Reference

Detailed Description

template<typename T>
class HepMC3::RelativesInterface< T >

forward declare the Relatives interface in which _parents and _children are wrapped

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.

Definition at line 22 of file Relatives.h.

#include <Relatives.h>

+ Inheritance diagram for RelativesInterface< T >:
+ Collaboration diagram for RelativesInterface< T >:

Public Member Functions

GenParticles_type< GenParticlePtr > operator() (GenParticlePtr input) const override
 Operator. More...
 
GenParticles_type
< ConstGenParticlePtr > 
operator() (ConstGenParticlePtr input) const override
 Operator. More...
 
GenParticles_type< GenVertexPtr > operator() (GenVertexPtr input) const override
 Operator. More...
 
GenParticles_type
< ConstGenVertexPtr > 
operator() (ConstGenVertexPtr input) const override
 Operator. More...
 

Static Public Attributes

static const Parents PARENTS
 Parents. More...
 
static const Children CHILDREN
 Children. More...
 
static thread_local const Ancestors ANCESTORS
 Ancestors. More...
 
static thread_local const
Descendants 
DESCENDANTS
 Descendants. More...
 

Private Attributes

Relative_type _internal
 

Member Function Documentation

GenParticles_type<GenParticlePtr> operator() ( GenParticlePtr  input) const
inlineoverridevirtual

Operator.

Implements Relatives.

Definition at line 84 of file Relatives.h.

GenParticles_type<ConstGenParticlePtr> operator() ( ConstGenParticlePtr  input) const
inlineoverridevirtual

Operator.

Implements Relatives.

Definition at line 86 of file Relatives.h.

GenParticles_type<GenVertexPtr> operator() ( GenVertexPtr  input) const
inlineoverridevirtual

Operator.

Implements Relatives.

Definition at line 88 of file Relatives.h.

GenParticles_type<ConstGenVertexPtr> operator() ( ConstGenVertexPtr  input) const
inlineoverridevirtual

Operator.

Implements Relatives.

Definition at line 90 of file Relatives.h.

Field Documentation

thread_local const Ancestors ANCESTORS
staticinherited

Ancestors.

Definition at line 66 of file Relatives.h.

const Children CHILDREN
staticinherited

Children.

Definition at line 65 of file Relatives.h.

thread_local const Descendants DESCENDANTS
staticinherited

Descendants.

Definition at line 67 of file Relatives.h.

const Parents PARENTS
staticinherited

Parents.

Definition at line 64 of file Relatives.h.


The documentation for this class was generated from the following file: