-
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
Implementing dedicated LHE filter for removing events with mttbar below a certain threshold #33541
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33541/22321
|
A new Pull Request was created by @gsorrentino18 (Giulia Sorrentino) for master. It involves the following packages: GeneratorInterface/GenFilters @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Hi @gsorrentino18 . Thanks so much for this PR. As we often have say 600 to 1000 and above 1000 or so, you might add min/max? You should also call the file Filter instead of filter to be consistent. When you check pdgid(top)+pdgid(antitop)=0 you could add an else if this is not the case and throw a message as you do before. |
Hi Alexander, thanks for your comments.
|
Hi @gsorrentino18 , I have no strong preference. I would probably always use -1 as default and if |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33541/22392
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33541/22393
|
Pull request #33541 was updated. @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again. |
Thanks Giulia. Can you remove the old file from this PR and still add -1 as initial values from min and max ? |
Pull request #33541 was updated. @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again. |
Hi @gsorrentino18. Sorry, misunderstanding. My point was that min and max are not initialized in c++. |
Ok. I'll go back to the previous python values and initialize min, max and pTmin as well. Thanks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33541/22396 |
Pull request #33541 was updated. @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e9d17d/14743/summary.html Comparison SummarySummary:
|
+generators |
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR implements a new filter, requested by GEN conveners, which removes events with invariant TTbar mass below a given threshold at LHE level.
An additional cut on the quarks pT is also applied, and both mass and pT thresholds can be customized in the _cfi file.
PR validation:
The filter has been tested locally in the CMSSW_12_0_X_2021-04-27-1100 release.