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 HLTDoubletSinglet filter #36828

Merged

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Jan 28, 2022

PR description:

This PR adds class template HLTDoubleSinglet<T1,T2,T3> which, looking at three collections col1<T1>, col2<T2> and col3<T3>, filters events where there are no objects in col3 unmatched with an object from col1 and another (different) object from col2. In other words, it selects events containing triplets of different objects from col1, col2 and col3 which form two pairs with a common element (1,3) and (2,3). Collections col1, col2 and col3 could be the same or different collections, and types of objects in the collections can be same or different.

Using this template class a filter called HLT3DoubletPFTauPFJet is defined using col1=col2=col<PFTau> and col3<PFJet> which it will be used in a newly developed DoublePFTau+PFJet HLT path.

@mbluj
Copy link
Contributor Author

mbluj commented Jan 28, 2022

@jaimeleonh FYI

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/27993

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mbluj for master.

It involves the following packages:

  • HLTrigger/HLTfilters (hlt)

@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @silviodonato 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

Copy link
Contributor

@missirol missirol left a comment

Choose a reason for hiding this comment

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

Here's a review of these updates. I see that the new plugin closely follows other ones in this package (for example HLTDoublet, for example), but I have some questions to understand things better.

@Martin-Grunewald knows this type of plugins better than I do, so, if needed, he can correct me or clarify what the better implementation is.

HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.h Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/plugins.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
HLTrigger/HLTfilters/plugins/HLTDoubletSinglet.cc Outdated Show resolved Hide resolved
@mbluj
Copy link
Contributor Author

mbluj commented Jan 31, 2022

@missirol I have just committed code implementing most of your comments. Rest should be available later.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/28051

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

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

@mbluj
Copy link
Contributor Author

mbluj commented Feb 1, 2022

@missirol All your comments have been addressed in current version.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/28075

  • This PR adds an extra 24KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2022

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

@missirol
Copy link
Contributor

missirol commented Feb 1, 2022

please test

All your comments have been addressed in current version.

Thanks @mbluj . No further comments from my side.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-907445/22124/summary.html
COMMIT: a544e37
CMSSW: CMSSW_12_3_X_2022-02-01-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36828/22124/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 43
  • DQMHistoTests: Total histograms compared: 3449612
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3449590
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 42 files compared)
  • Checked 181 log files, 42 edm output root files, 43 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor

missirol commented Feb 2, 2022

+hlt

  • addition of a new HLTFilter, not presently used in any wf or HLT menu

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2022

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

perrotta commented Feb 4, 2022

+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

5 participants