-
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
Add option for dimuon Delta R for HLTMuonDimuonL3Filter #36267
Add option for dimuon Delta R for HLTMuonDimuonL3Filter #36267
Conversation
3bf7986
to
0c11e62
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26937
|
A new Pull Request was created by @arsahasransu (A.R.Sahasransu) for master. It involves the following packages:
@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
if (invmass > max_InvMass_[iv]) | ||
return false; | ||
continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment: this change is correct, but it was already included #36005. The reason that's not showing up here is that this PR is based off 12_2_0_pre1
, not 12_2_0_pre2
(which includes #36005), or a recent IB (e.g. CMSSW_12_2_X_2021-11-25-2300
). In any case, it looks like git
will merge changes correctly in the target branch (without touching what was done in #36005), so no further action is needed on this.
const std::vector<double> max_PtMin_; // maximum Pt for muon with min Pt in pair | ||
const std::vector<double> min_InvMass_; // minimum invariant mass of pair | ||
const std::vector<double> max_InvMass_; // maximum invariant mass of pair | ||
const std::vector<int> invertDiMuonMassSelection_; // condition to invert the invariant mass selection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const std::vector<int> invertDiMuonMassSelection_; // condition to invert the invariant mass selection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it was a small change to avoid pushing and pulling multiple times, I just made the change on my branch and pushed it directly.
0c11e62
to
bb6869a
Compare
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26959
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
bb6869a
to
5a4d863
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26963
|
Pull request #36267 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
In 76a7ee0, I still see the changes related to the "inverted mass cut", and in 5a4d863 the commit message contains a lot of unnecessary information. I think it's best to clean up the history of this PR. You can do this as follows: scram p CMSSW CMSSW_12_2_X_2021-11-28-2300
cd CMSSW_12_2_X_2021-11-28-2300/src
eval `scram runtime -sh`
git cms-init
git cms-addpkg HLTrigger/Muon
git checkout -b mergeDimuonL3FilterModifs
git cherry-pick 76a7ee0621281385527b0961b2fe187ee81a6b82^..5a4d86368f1e48ebab2a9473e3652528dff28016 --no-commit -Xours
scram b code-checks
scram b code-format
scram b
git add -u :/
git commit -m 'Add option for dimuon min-DeltaR cut in HLTMuonDimuonL3Filter'
git push my-cmssw mergeDimuonL3FilterModifs -f |
5a4d863
to
04b2f5b
Compare
@missirol I have run the above commands and pushed them to the PR. I am still to be adept at git. |
No problem. Looks good now. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26964
|
Pull request #36267 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c4db5d/20814/summary.html Comparison SummarySummary:
|
+hlt
|
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 now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR is a development towards CMS Run3 HLT where we trigger events with soft muons in them. To get a reasonable rate, new kinematic constraints on the dimuon events need to be placed at the HLT.
Added options to make a selection on the minimum angle required between L3 muons in the trigger
This is based on the presentation at https://indico.cern.ch/event/1090283/#33-level-3-paths-for-singlet-t
Sam James Harper noticed that error management in the module can be improved.
It is ideal to throw an exception at the constructor level when that error renders the module of no use. This enable catching the error in the build phase instead of having to wait for a message from cmsRun.
PR validation: