HepMC3 event record library
Relatives.cc
Go to the documentation of this file.
1// -*- C++ -*-
2//
3// This file is part of HepMC
4// Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5//
6///
7/// @file Relatives.cc
8/// @brief Implementation of \b Relatives class
9///
10#include "HepMC3/Relatives.h"
11
12namespace HepMC3 {
13const Parents Relatives::PARENTS;
14const Children Relatives::CHILDREN;
15thread_local const Ancestors Relatives::ANCESTORS;
16thread_local const Descendants Relatives::DESCENDANTS;
17}
18
Defines helper classes to extract relatives of an input GenParticle or GenVertex.
HepMC3 main namespace.
Definition: ReaderGZ.h:28
RelativesInterface< Recursive< _children > > Descendants
Descendants is an alias to Recursion applied to the _children and wrapped in the Relatives interface.
Definition: Relatives.h:37
RelativesInterface< Recursive< _parents > > Ancestors
Ancestors is an alias to Recursion applied to the _parents and wrapped in the Relatives interface.
Definition: Relatives.h:35
RelativesInterface< _parents > Parents
alias of _parents wrapped in the Relatives interface
Definition: Relatives.h:31
RelativesInterface< _children > Children
alias of _children wrapped in the Relatives interface
Definition: Relatives.h:33