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
Add HLTDoubletSinglet filter #36828
Conversation
Adding HLTDoubleSinglet class and HLT3DoublePFTauPFJet filter
@jaimeleonh FYI |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/27993 |
A new Pull Request was created by @mbluj 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 |
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.
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.
@missirol I have just committed code implementing most of your comments. Rest should be available later. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/28051 |
Pull request #36828 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
…r names from small letters
@missirol All your comments have been addressed in current version. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36828/28075
|
Pull request #36828 was updated. @cmsbuild, @missirol, @Martin-Grunewald can you please check and sign again. |
please test
Thanks @mbluj . No further comments from my side. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-907445/22124/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 adds class template
HLTDoubleSinglet<T1,T2,T3>
which, looking at three collectionscol1<T1>
,col2<T2>
andcol3<T3>
, filters events where there are no objects incol3
unmatched with an object fromcol1
and another (different) object fromcol2
. In other words, it selects events containing triplets of different objects fromcol1
,col2
andcol3
which form two pairs with a common element (1,3) and (2,3). Collectionscol1
,col2
andcol3
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 usingcol1=col2=col<PFTau>
andcol3<PFJet>
which it will be used in a newly developed DoublePFTau+PFJet HLT path.