55 const auto& clusters = fClusters.get();
56 const auto nClusters = clusters.size();
60 fMultiplicity->m.fill(0.);
61 fMultiplicity->m[0] = 1.;
66 std::accumulate(clusters.cbegin(),
69 [](
auto size,
const R3BNeulandCluster& cluster) { return size + cluster.GetSize(); });
71 std::accumulate(clusters.cbegin(),
74 [](
double energy,
const R3BNeulandCluster& cluster) { return energy + cluster.GetE(); });
76 fMultiplicity->m = fPar->GetProbabilities(nHits,
static_cast<int>(nClusters),
static_cast<int>(std::ceil(Edep)));