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 67 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
HEPMC3search_Relatives_EXPORT_API
const Parents 
PARENTS
 Parents. More...
 
static
HEPMC3search_Relatives_EXPORT_API
const Children 
CHILDREN
 Children. More...
 
static
HEPMC3search_Relatives_EXPORT_API
thread_local const Ancestors 
ANCESTORS
 Ancestors. More...
 
static
HEPMC3search_Relatives_EXPORT_API
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 223 of file Relatives.h.

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

Operator.

Implements Relatives.

Definition at line 225 of file Relatives.h.

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

Operator.

Implements Relatives.

Definition at line 227 of file Relatives.h.

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

Operator.

Implements Relatives.

Definition at line 229 of file Relatives.h.

Field Documentation

thread_local const Ancestors ANCESTORS
staticinherited

Ancestors.

Definition at line 203 of file Relatives.h.

const Children CHILDREN
staticinherited

Children.

Definition at line 202 of file Relatives.h.

thread_local const Descendants DESCENDANTS
staticinherited

Descendants.

Definition at line 204 of file Relatives.h.

const Parents PARENTS
staticinherited

Parents.

Definition at line 201 of file Relatives.h.


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