functor that navigates up the chain when there are intermediate particles More...
#include <mc_truth_utils.h>
Public Member Functions | |
| IntermediateParentWalker (const vint_t *pdgs, const vvint_t *parentsIndices, const int &particleIndex) | |
| int | defaultParentPdg () const |
| int | parentPdg () const |
| take the first one, usually fine | |
| void | setIndexCurrentParticle (const int &i) |
| bool | hasParent () |
| bool | hasSelfParent () |
| size_t | indexSelfParent () |
| void | walkUp () |
Public Attributes | |
| const vint_t & | pdgs_ |
| const vvint_t & | parsIdxs_ |
| size_t | i_ |
| index current particle | |
| int | pdg_ |
| pdg current particle | |
| vint_t | parIndices_ |
| indices parents of current particle | |
| vint_t | parPdgs_ |
| pdgs parents of current particle | |
functor that navigates up the chain when there are intermediate particles
1.7.6.1