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
Fixing MultiIso in muon Selector: Removing the double declaration of the variable "miniIsoValue " #26093
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26093/8660
|
A new Pull Request was created by @bmahakud (Bibhuprasad Mahakud) for master. It involves the following packages: PhysicsTools/PatAlgos @cmsbuild, @perrotta, @santocch, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
The tests are being triggered in jenkins. |
@bmahakud please edit the title say MultiIso (instead of MutiIso) |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
This fixes a clear bug, and definitely up to now the MultiIsoLoose and MultiIsoMedium were wrongly computed. |
Since the bug makes MultiIsoLoose and MultiIsoMedium useless and no one reported this problem earlier, no one really used it so far. |
type bugfix |
+1
|
@santocch I would move forward with this bug fix |
+1 |
merge it looks a clear bug fix |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will be automatically merged. |
@bmahakud @perrotta @drkovalskyi given the discussion in the thread, I would not consider the backport of this PR as critical for 10_5_0 , although it doesn't harm. Please comment in case |
For sure a backport of this pull request doesn't harm, although I'd see it more conveniently backported into an analysis release (e.g 10_2) rather than into 10_5_X |
MultiIso is based on the values of three variables i.e.
1.) miniIsoValue
2.) muon.jetPtRatio and
3.) muon.jetPtRel() .
If you print values of miniIsoValue at this line
https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/PatAlgos/plugins/PATMuonProducer.cc#L684 it always gives -1.
This is because it has been declared twice
https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/PatAlgos/plugins/PATMuonProducer.cc#L650-L653
So the current mutiIso values that you get in miniAOD is just based on the two variables . 2.) muon.jetPtRatio and 3.) muon.jetPtRel()
So with this bug , the desired performance of MultiIso is not expected at mini AOD.
Fixing this, desired performance will be achieved.