Fix energy - #31
Conversation
|
Hi @clementhelsens, thanks for this. There is one thing that we have to consider here. The tests currently break here: This is because in the tests the 4-vectors of delphes candidates to the converted edm4hep candidates are compared directly, i.e. without adjusting for a potentially different mass in the energy. We had this discussion already some time ago, where we thought about making the 4 momentum internally consistent in edm4hep, but then decided to keep the momentum, mass and energy separate. I don't know what would be the best solution in this case, but we would need to at least update the tests accordingly if we keep this version. In any case, I have added some basic utilities for 4 momentum vectors here: key4hep/EDM4hep-utils#1. |
|
Hi @tmadlener , not sure what is the best solution either. I made this PR because I found this while doing analysis downstream (where I am correcting anyway). |
|
|
It looks like this needs a rebase to resolve the conflict. Additionally, if I understand the comment above correctly a second |
BEGINRELEASENOTES
ENDRELEASENOTES