Skip to content

MC matching using ToMC - many matches show large momentum differences #404

@donalhill

Description

@donalhill

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions