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

Add option for dimuon Delta R for HLTMuonDimuonL3Filter #36267

Merged
merged 1 commit into from Nov 29, 2021

Conversation

arsahasransu
Copy link
Contributor

@arsahasransu arsahasransu commented Nov 27, 2021

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:

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26937

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @arsahasransu (A.R.Sahasransu) for master.

It involves the following packages:

  • HLTrigger/Muon (hlt)

@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks.
@Fedespring, @HuguesBrun, @calderona, @silviodonato, @abbiendi, @jhgoh, @Martin-Grunewald, @missirol, @sscruz, @CeliaFernandez, @trocino, @cericeci this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

if (invmass > max_InvMass_[iv])
return false;
continue;
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const std::vector<int> invertDiMuonMassSelection_; // condition to invert the invariant mass selection

Copy link
Contributor Author

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.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26959

  • This PR adds an extra 16KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26963

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36267 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again.

@missirol
Copy link
Contributor

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

@arsahasransu
Copy link
Contributor Author

@missirol I have run the above commands and pushed them to the PR. I am still to be adept at git.

@missirol
Copy link
Contributor

No problem. Looks good now.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36267/26964

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36267 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again.

@missirol
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c4db5d/20814/summary.html
COMMIT: 04b2f5b
CMSSW: CMSSW_12_2_X_2021-11-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36267/20814/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3247873
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3247845
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 41 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor

+hlt

@cmsbuild
Copy link
Contributor

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)

@perrotta
Copy link
Contributor

+1

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

4 participants