-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Allow calculation of muon ID bitset from const reference to muon #25698
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25698/8069
|
A new Pull Request was created by @guitargeek (Jonas Rembser) for master. It involves the following packages: DataFormats/MuonReco @perrotta, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
This looks rather simple to me. @drkovalskyi @folguera |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Looks good to me. |
+1 |
merge |
The POG recommendation for muon IDs is to use this muon ID bitset [1] for 94X and up. In my analysis framework, I would like to recompute this bitset to get all the IDs in the same way, even when the sample was older or does not have all the IDs set yet. In the current CMSSW code, you can't compute the ID bitset without setting the bitset of the muon. That's inconvenient if all you (want to) have are
const
references to the muons, so I made this little commit in my analysis branch.Maybe this change can also be done in master so other analyzers might profit as well? Thanks!
[1] https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideMuonIdRun2#Muon_selectors_Since_9_4_X