all_hadrons_delta_p_per.pdf
all_hadrons_angle_match_delta_p_per.pdf
I have looked at two MC-matching methods in order to evaluate the performance of the ToMC association. The first method here:
https://github.com/donalrinho/fcc_python_tools/blob/master/examples/momentum_resolution.ipynb
calculates the angle between reconstructed hadrons and generated particles, and chooses the pair with minimum angle to be the MC-matched pair. The second method is here:
https://github.com/donalrinho/fcc_python_tools/blob/master/examples/mc_matching.ipynb
where I use the efcharged#1.index values for each reconstructed hadron in efcharged to pick the associated truth particle in genParticles.
Both methods always assign a true particle to each reconstructed hadron. This allows the momentum resolution to be studied by calculating the difference between the true and reco momentum for each pair.
I find that method 2 only produces a sensible resolution peak for about 1% of cases, judging by the size of the peak compared to method 1. The other 99% of matched pairs show larger momentum differences, which appear to be quite uniformly distributed. I don't know the origin of this effect, but it may indicate that a lot of the matched pairs are actually random associations. Perhaps the small peak I do find are the cases where the matching at random actually managed to pick the correct pair?
I have noticed that using efcharged#1.index and efcharged#0.index give exactly the same results, whereas I expected these two indices to point to the genParticles and efcharged, respectively. Is it possible that efcharged#1.index is not filled with the correct genParticle index values?
all_hadrons_delta_p_per.pdf
all_hadrons_angle_match_delta_p_per.pdf
I have looked at two MC-matching methods in order to evaluate the performance of the ToMC association. The first method here:
https://github.com/donalrinho/fcc_python_tools/blob/master/examples/momentum_resolution.ipynb
calculates the angle between reconstructed hadrons and generated particles, and chooses the pair with minimum angle to be the MC-matched pair. The second method is here:
https://github.com/donalrinho/fcc_python_tools/blob/master/examples/mc_matching.ipynb
where I use the
efcharged#1.indexvalues for each reconstructed hadron inefchargedto pick the associated truth particle ingenParticles.Both methods always assign a true particle to each reconstructed hadron. This allows the momentum resolution to be studied by calculating the difference between the true and reco momentum for each pair.
I find that method 2 only produces a sensible resolution peak for about 1% of cases, judging by the size of the peak compared to method 1. The other 99% of matched pairs show larger momentum differences, which appear to be quite uniformly distributed. I don't know the origin of this effect, but it may indicate that a lot of the matched pairs are actually random associations. Perhaps the small peak I do find are the cases where the matching at random actually managed to pick the correct pair?
I have noticed that using
efcharged#1.indexandefcharged#0.indexgive exactly the same results, whereas I expected these two indices to point to thegenParticlesandefcharged, respectively. Is it possible thatefcharged#1.indexis not filled with the correctgenParticleindex values?