Belle II Software
release-08-01-10
|
Contains several DecayTree objects, which belong all to the same candidate. More...
#include <DecayForest.h>
Public Member Functions | |
DecayForest (const std::string &full_decaystring, bool save_memory=true, bool removeRadiativeGammaFlag=false) | |
Create a DecayForest from a full decaystring outputted by ParticleMCDecayString. More... | |
const DecayTree & | getTree (unsigned int n) const |
Return nth tree (0 is the reconstructed tree) | |
const DecayTree & | getReconstructedTree () const |
Get reconstructed tree. | |
const DecayTree & | getOriginalTree () const |
Get first valid original tree. | |
unsigned int | getNumberOfTrees () const |
Return number of trees. | |
unsigned int | getOriginalTreeNumber () const |
Return first valid original tree number. | |
Static Public Member Functions | |
static int | decayHashFloatToInt (float decayHash, float decayHashExtended) |
Convert DecayHashes outputted by ParticleMCDecayString module to an integer. | |
Private Attributes | |
std::vector< DecayTree > | forest |
vector of DecayTrees | |
size_t | m_first_valid_original |
The first valid DecayTree. | |
Contains several DecayTree objects, which belong all to the same candidate.
Definition at line 24 of file DecayForest.h.
|
explicit |
Create a DecayForest from a full decaystring outputted by ParticleMCDecayString.
full_decaystring | full decay string |
save_memory | by storing only the reconstructed and first valid original DecayTree |
removeRadiativeGammaFlag | remove radiative photons from decay string. Handle with care: In the decay B+ --> e+ nu_e gamma, the gamma would be removed although this might be your signal. |
Definition at line 17 of file DecayForest.cc.