This merge request fixes several issues with the papa framework:
Weighting of all pluto particles: Before, the total weight
Mass dependent scaling for combinatorial pairs from (partly) thermal sources: Since dielectron pairs from thermal sources (in-medium SF and QGP-radiation) have very limited statistics at high masses, they are embedded with flat mass distributions (therefore enhanced at high masses) and have to be rescaled to the correct mass distribution in the analysis. Up to now this was done using the reconstructed mass of the pair, which is incorrect. Each track from a thermal source is enhanced by a factor depending on the MC mass of its mother particle and should be rescaled accordingly. For signal pairs (pairs of two tracks from the same mother) the previous implementation gives mostly correct results as
Mass dependent scaling for single tracks from thermal sources: With commit b52a4070 now also single tracks from thermal sources can be scaled according to the MC mass of the mother particle, allowing for example to plot the correct momentum distribution for single tracks. Without scaling the tracks from thermal sources are artificially enhanced.