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

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

#include <Relatives.h>

Public Member Functions

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

Private Attributes

Relative_type _internal
 

Detailed Description

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

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 75 of file Relatives.h.


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