Closed cfuselli closed 1 week ago
As you can see in the BiPo comparison, there was a difference that I did not notice between the A and Z values of the alpha cluster of Po214. It should be 4-2 and it was getting 214-84. This has an impact on the yields. I realised the only problem was that we were not splitting anymore for alpha types, adding that back all the rest is the same (checked for all the cases) but the alpha cluster now gets 4-2 for A-Z as it should.
Btw I am still discussing with Micha about this PR and we are still not sure how we want to treat those cases.
With the latest commit we do a bit of "dietrofront" on the treatment of RDB decays. I will update the description of the PR asap.
New treatment involves:
With this PR we fix some issues with the treatment of RadioactiveDecayBase (RDB) interactions. I realised that the results of simulating one gamma and simulating the gamma from Xe131 gave very different results. That is not good. Now they both give similar results.
Specifically, we had to add special treatment for gammas emitted from excited nuclei that are treated by RDB library. Low energy gammas will not produce a gamma-phot/compt interaction in G4 just like hig energy gammas, but just some electron tracks and some gamma tracks will be produced. Now, we decide based on the secondaries what yield to assign to a certain cluster. The modifications match perfectly the distributions of Xe129 and Xe133 ( they were completely off before this PR ) and also match much better Pb212.
Details of changes:
Xe129 - 39keV gamma
It makes some electron tracks and some gamma-phots. We want to keep them all together into a one gamma cluster.
Xe129 - 196keV gamma
It makes some electron tracks. Again, we want to keep them all together into a one gamma cluster.
Bi214 - 609keV gamma
It makes a real gamma. The gamma produces two compton clusters ( beta yield ) and one photoabsorbtion ( gamma yield )
Summary of clustering for different situations
Left: NEW clustering Right: OLD clustering
Gamma simulations 163keV in TPC
Expect just one gamma cluster, sometimes compton + gamma
Pb212
It's gammas+beta most of the times, with 238keV gamma
Xe131
It's one 163keV gamma
Xe129
It's two different gammas
BiPo
there is gamma+beta and then alpha