 |
Belle II Software
release-05-02-19
|
14 #include <analysis/utility/DecayTree.h>
36 explicit DecayForest(
const std::string& full_decaystring,
bool save_memory =
true,
bool removeRadiativeGammaFlag =
false);
69 std::vector<DecayTree>
forest;
This is a helper class for the MCDecayFinderModule.
DecayForest(const std::string &full_decaystring, bool save_memory=true, bool removeRadiativeGammaFlag=false)
Create a DecayForest from a full decaystring outputted by ParticleMCDecayString.
std::vector< DecayTree > forest
vector of DecayTrees
DecayTree & getReconstructedTree()
Get reconstructed tree.
static int decayHashFloatToInt(float decayHash, float decayHashExtended)
Convert DecayHashes outputted by ParticleMCDecayString module to an integer.
unsigned int getNumberOfTrees() const
Return number of trees.
size_t m_first_valid_original
The first valid DecayTree.
Abstract base class for different kinds of events.
DecayTree & getTree(unsigned int n)
Return nth tree (0 is the reconstructed tree)
unsigned int getOriginalTreeNumber() const
Return first valid original tree number.
DecayTree & getOriginalTree()
Get first valid original tree.