Belle II Software  release-08-01-10
DecayNode Class Reference

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

#include <DecayNode.h>

Collaboration diagram for DecayNode:

Public Member Functions

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

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

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