HEP-KBFI / ml-tau-en-reg

Reconstructing tau leptons using various machine learning techniques
GNU General Public License v3.0
0 stars 1 forks source link

Validate lifetime variables #9

Closed nseeba closed 2 months ago

nseeba commented 2 months ago
Laurits7 commented 2 months ago

As previously confirmed, the common lifetime variable values were confirmed to be correct. Now checking the sign and error of them also, we see that also these have correct values: The signed values of lifetime variables for tau should have some asymmetry while the values for qq jets should be symmetric. This is visible on the following plots: image image

Values for the errors are also reasonable as seen here: image

Conclusion: resolved

Laurits7 commented 2 months ago

A brief summary of the problem: Due to false parent-daughter relationship of the genParticles, the genParticles (and therefore the genTau properties) are taken from the .hepmc file. However, the primary vertex (PV) in the .hepmc files is not located at 000 as it is in the key4hep files, therefore also the tau decay vertex (DV) is shifted. The track parameters (omega, lambda, etc.) from the key4hep format are still relative to PV@000. Therefore the tau DV is shifted into the same coordinates, fixing the problem with the calculated lifetime variables.