-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phi wraparound bug in PFDisplacedVertexCandidateFinder? #38068
Comments
A new Issue was created by @rappoccio . @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign reconstruction |
New categories assigned: reconstruction @jpata,@slava77,@clacaputo you have been requested to review this Pull request/Issue and eventually sign? Thanks |
cc @cms-sw/pf-l2 |
type pf |
Digging through the code, it looks like Maxime was the original author. I don't know if he's on github, but I shot him an email. |
Isn't v1.DeltaPhi(v2) equivalent to abs(v1.Phi() - v2.Phi()) ? |
Not if phi1 is 359 degrees and phi2 is 1 degree (e.g.) |
I'd propose to make the PR and check the performance.... |
here it is: #38080 |
Thanks @mmusich, we were really just asking if we were missing something, @laurenhay has the fix. It sounds like this is indeed really a bug so we will go ahead with the tests. |
+reconstruction
|
This issue is fully signed and ready to be closed. |
Hi,
I think there is a phi wraparound bug in this line of PFDisplacedVertexCandidateFinder:
cmssw/RecoParticleFlow/PFTracking/src/PFDisplacedVertexCandidateFinder.cc
Line 194 in 6d2f660
should be
This may be related to the issue reported here. Can someone confirm? We can fix it (and hopefully the other issue as well) if this is wrong as I expect.
@jpata @clacaputo @laurenhay
The text was updated successfully, but these errors were encountered: