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

bugfix: assign muon PDG id using PFMuon charge #11838

Merged
merged 1 commit into from Oct 19, 2015

Conversation

jhgoh
Copy link
Contributor

@jhgoh jhgoh commented Oct 15, 2015

This PR is a bugfix for inconsistent PDG id assignment in the MuonProducer.

The MuonProducer sets variables from the PF muon but the PDG ID was omitted. Inconsistency between sign of pdg id and charge is spotted by Nicola;

event 1:19778:3823145

/store/mc/RunIISpring15DR74/ZZTo4L_13TeV_powheg_pythia8/MINIAODSIM/Asympt25ns_MCRUN2_74_V9-v1/10000/A43364CC-1C17-E511-AEF2-00266CFAE8C4.root

has a muon with pT=38.6605, charge -1, pdgId=-13 (mu+), muonBestTrackType=4.

@jhgoh jhgoh changed the title Assign muon PDG id using PFMuon charge bugfix: assign muon PDG id using PFMuon charge Oct 15, 2015
@cmsbuild cmsbuild added this to the Next CMSSW_7_6_X milestone Oct 15, 2015
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jhgoh (Junghwan John Goh) for CMSSW_7_6_X.

bugfix: assign muon PDG id using PFMuon charge

It involves the following packages:

RecoMuon/MuonIdentification

@cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks.
@battibass, @abbiendi, @bellan, @trocino, @bachtis, @rociovilar this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@slava77
Copy link
Contributor

slava77 commented Oct 16, 2015

@jhgoh
Do I understand it correctly, that we didn't notice this bug with all of the run1 8 TeV data analyses?

@slava77
Copy link
Contributor

slava77 commented Oct 16, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/8939/console

@slava77
Copy link
Contributor

slava77 commented Oct 16, 2015

... ok, the bug was not there yet in 53X release

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cvuosalo
Copy link
Contributor

+1

For #11838 ff79640

Fixing rare case where muon PDG ID had reversed sign.

The code fix is satisfactory, and Jenkins tests against baseline CMSSW_7_6_X_2015-10-15-2300 show no significant differences.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Oct 19, 2015
bugfix: assign muon PDG id using PFMuon charge
@cmsbuild cmsbuild merged commit 2f4fa39 into cms-sw:CMSSW_7_6_X Oct 19, 2015
@jhgoh jhgoh deleted the SetMuonPdgIdFromPFCharge branch October 27, 2015 12:42
@jhgoh jhgoh restored the SetMuonPdgIdFromPFCharge branch November 8, 2015 06:59
@jhgoh jhgoh deleted the SetMuonPdgIdFromPFCharge branch November 8, 2015 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants