Belle II Software development
DecayNode Class Reference

DecayNode describes the decay of a particle identified by its pdg code, into list of daughters. More...

#include <DecayNode.h>

Public Member Functions

 DecayNode (int _pdg=0, const std::vector< DecayNode > &_daughters={})
 Create new Decay node.
 
bool find_decay (const DecayNode &to_find) const
 Check if the decay node contains the given decay tree.
 
std::string print_node (unsigned int indent=0) const
 Output a single node.
 

Public Attributes

int pdg
 pdg code of the particle
 
std::vector< DecayNodedaughters
 daughter decay nodes
 

Detailed Description

DecayNode describes the decay of a particle identified by its pdg code, into list of daughters.

Definition at line 23 of file DecayNode.h.

Constructor & Destructor Documentation

◆ DecayNode()

DecayNode ( int  _pdg = 0,
const std::vector< DecayNode > &  _daughters = {} 
)
inline

Create new Decay node.

Parameters
_pdgcode of the particle
_daughtersof the particle

Definition at line 31 of file DecayNode.h.

31{}) : pdg(_pdg), daughters(_daughters) { }
std::vector< DecayNode > daughters
daughter decay nodes
Definition: DecayNode.h:48
int pdg
pdg code of the particle
Definition: DecayNode.h:47

Member Data Documentation

◆ daughters

std::vector<DecayNode> daughters

daughter decay nodes

Definition at line 48 of file DecayNode.h.

◆ pdg

int pdg

pdg code of the particle

Definition at line 47 of file DecayNode.h.


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