11 #include <analysis/utility/DecayForest.h>
22 unsigned int start = 0;
23 for (
unsigned int i = 0; i < full_decaystring.size(); ++i) {
24 if (full_decaystring[i] ==
'|') {
25 forest.emplace_back(full_decaystring.substr(start, i - start), removeRadiativeGammaFlag);
27 if (save_memory and
forest.back().isValid() and
forest.size() > 1)
32 if (not(save_memory and
forest.back().isValid() and
forest.size() > 1))
33 forest.emplace_back(full_decaystring.substr(start, full_decaystring.size() - start), removeRadiativeGammaFlag);
35 for (
unsigned int j = 1; j <
forest.size(); ++j) {
49 assert(
sizeof(
float) ==
sizeof(uint32_t));
59 bitconverter.f = decayHash;
60 integer =
static_cast<uint64_t
>(bitconverter.i) << 32;
64 bitconverter.f = decayHashExtended;
65 integer += bitconverter.i;