SusyNtuple
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes
Susy::mc::IntermediateParentWalker Struct Reference

functor that navigates up the chain when there are intermediate particles More...

#include <mc_truth_utils.h>

List of all members.

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

Detailed Description

functor that navigates up the chain when there are intermediate particles


The documentation for this struct was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator