Skip to content
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

Electron IP sign #514

Closed
swertz opened this issue Apr 1, 2020 · 6 comments · Fixed by cms-sw/cmssw#31495
Closed

Electron IP sign #514

swertz opened this issue Apr 1, 2020 · 6 comments · Fixed by cms-sw/cmssw#31495

Comments

@swertz
Copy link

swertz commented Apr 1, 2020

In #479 the sign of the 2D IP (dxy) for muons was fixed, and if I understand correctly the issue was fixed upstream in PAT (here cms-sw#28753) by switching from using IPTools::signedTransverseImpactParameter() to reco::TrackBase::dxy().

However it seems that PAT electrons still use signedTransverseImpactParameter(): https://github.com/cms-nanoAOD/cmssw/blob/master/PhysicsTools/PatAlgos/plugins/PATElectronProducer.cc#L1150-L1159

Is there a reason why this wasn't changed for electrons?

@peruzzim
Copy link

peruzzim commented Apr 6, 2020

to be discussed offline

@arizzi
Copy link

arizzi commented Jun 29, 2020

was it discussed?

@swertz
Copy link
Author

swertz commented Jul 1, 2020

Didn't have any reply, I'll send a reminder.

@swertz
Copy link
Author

swertz commented Aug 27, 2020

Fixed in cms-sw#30738 (+ backport to 106X). Not sure if a fix a la #479 for non-UL is also needed?

@mariadalfonso
Copy link

@swertz
Thanks for this check.
indeed a fix like this for the OLD miniAOD is beneficial especially if we go for the re-nano of the UL before doing the re-mini.

@mariadalfonso
Copy link

For miniAOD it's taken care starting from the reminiAOD of the UL.
For nano made from previously made mini, the PR linked above fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants