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

AJJGenJet filter added. #35547

Merged
merged 7 commits into from
Oct 25, 2021
Merged

AJJGenJet filter added. #35547

merged 7 commits into from
Oct 25, 2021

Conversation

hbakhshi
Copy link
Contributor

@hbakhshi hbakhshi commented Oct 5, 2021

PR description:

A new filter added to the GeneratorInterface/GenFilters package. It is specially designed to select events with 1 photon + 2VBF jets. cuts on photon and jet are completely configurable.

PR validation:

the filter tested on run-2 and snowmass gridpacks and fragments.

if this PR is a backport please specify the original PR and why you need to backport that PR:

this filter is going to be used to generate vbf+photon samples for run2 and snowmass analyses

Before submitting your pull requests, make sure you followed this checklist:

@cmsbuild cmsbuild changed the base branch from CMSSW_12_1_X to master October 5, 2021 23:04
@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2021

@hbakhshi, CMSSW_12_1_X branch is closed for direct updates. cms-bot is going to move this PR to master branch.
In future, please use cmssw master branch to submit your changes.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2021

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35547/25777

  • This PR adds an extra 20KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35547/25779

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2021

A new Pull Request was created by @hbakhshi (Hamed Bakhshian) for master.

It involves the following packages:

  • GeneratorInterface/GenFilters (generators)

@SiewYan, @mkirsano, @Saptaparna, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please review it and eventually sign? Thanks.
@alberto-sanchez, @mkirsano 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

// class declaration
//

class AJJGenJetFilter : public edm::EDFilter {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use a thread friendly base class.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35547/25787

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

    • GeneratorInterface/GenFilters/plugins/AJJGenJetFilter.h:

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2021

Pull request #35547 was updated. @SiewYan, @mkirsano, @Saptaparna, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again.

};

AJJGenJetFilter::AJJGenJetFilter(const edm::ParameterSet& iConfig)
: ptMin(iConfig.getUntrackedParameter<double>("minPt", 0)),
Copy link
Contributor

Choose a reason for hiding this comment

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

You do not need to add default values here since you already specify them in the fillDescriptions function

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, shouldn’t these all be tracked parameters as you want to record what cuts were being used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for your comments, I have tried to address both of them

@cmsbuild
Copy link
Contributor

Pull request #35547 was updated. @SiewYan, @mkirsano, @Saptaparna, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again.

@SiewYan
Copy link
Contributor

SiewYan commented Oct 18, 2021

please test workflow 514,552,554

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd1cc7/19718/summary.html
COMMIT: 4a701cf
CMSSW: CMSSW_12_1_X_2021-10-18-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/35547/19718/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-fd1cc7/514.0_GGToHgg_NLO_Pow_13TeV_py8+GGToH_Pow_LHE_13TeV+Hadronizer_TuneCP5_13TeV_Hgg_powhegEmissionVeto_pythia8+HARVESTGEN2
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-fd1cc7/552.0_VHToHtt_NLO_Pow_13TeV_py8+VHToH_Pow_LHE_13TeV+Hadronizer_TuneCP5_13TeV_Htt_powhegEmissionVeto_pythia8+HARVESTGEN2
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-fd1cc7/554.0_VBFToH4l_NLO_Pow_JHU_13TeV_py8+VBFToH_Pow_JHU4l_LHE_13TeV+Hadronizer_TuneCP5_13TeV_powhegEmissionVeto_pythia8+HARVESTGEN2

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2751113
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2751084
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 170 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@hbakhshi
Copy link
Contributor Author

It seems that all the tests have passed again. I would appreciate if you could accept this PR, so I can proceed with the sample request. @Saptaparna

@hbakhshi
Copy link
Contributor Author

@SiewYan
Would you please let me know what else should I do for this PR to be approved and merged?

@qliphy
Copy link
Contributor

qliphy commented Oct 25, 2021

ping @cms-sw/generators-l2

@Saptaparna
Copy link
Contributor

+1 @SiewYan any additional comments?

@SiewYan
Copy link
Contributor

SiewYan commented Oct 25, 2021

@Saptaparna , nope, looks all good to me. thanks.

@SiewYan
Copy link
Contributor

SiewYan commented Oct 25, 2021

+1

@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)

@qliphy
Copy link
Contributor

qliphy commented Oct 25, 2021

@hbakhshi It seems you have not addressed all comments from @Dr15Jones, for example, the suggestions to try LogDebug.

@hbakhshi
Copy link
Contributor Author

Hi @qliphy
Thanks for your comment. Indeed that is the only suggestion I didn't apply. I think this way I can monitor the activity of the filter better. Let me know if there is any strict rule for this

@qliphy
Copy link
Contributor

qliphy commented Oct 25, 2021

+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.

6 participants