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

106X backport of #30738 (Use dxy sign of GSF track instead of IPTools for pat::Electron) #30892

Merged
merged 2 commits into from Aug 4, 2020

Conversation

afiqaize
Copy link
Contributor

@afiqaize afiqaize commented Jul 24, 2020

PR description:

Backport #30738 in the same way as #29537, with extra switch to activate the fix, and the same era modifier to activate said switch.

PR validation:

The same validation as #30738.

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

#30738 for use in UL reminiAOD.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 24, 2020

A new Pull Request was created by @afiqaize (Afiq Anuar) for CMSSW_10_6_X.

It involves the following packages:

PhysicsTools/PatAlgos

@perrotta, @jpata, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @gouskos, @hatakeyamak, @emilbols, @peruzzim, @seemasharmafnal, @mmarionncern, @ahinzmann, @smoortga, @jdolen, @ferencek, @jdamgov, @nhanvtran, @gkasieczka, @schoef, @andrzejnovak, @clelange, @riga, @JyothsnaKomaragiri, @mverzett, @gpetruc, @mariadalfonso this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

backport of #30738

@@ -91,6 +91,7 @@ PATElectronProducer::PATElectronProducer(const edm::ParameterSet & iConfig) :
embedHighLevelSelection_(iConfig.getParameter<bool>("embedHighLevelSelection")),
beamLineToken_(consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamLineSrc"))),
pvToken_(mayConsume<std::vector<reco::Vertex> >(iConfig.getParameter<edm::InputTag>("pvSrc"))),
getdBFromTrack_(iConfig.getParameter<bool>("getdBFromTrack")),
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is not present in the master version!
Please clarify

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, because in the master the dxy sign is "just fixed", while in this case the fix has to be activated by this switch.

Compare #28753 and #29537 where the same difference can be seen.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 24, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 935e9f5
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7d227e/8268/summary.html
CMSSW: CMSSW_10_6_X_2020-07-24-1100
SCRAM_ARCH: slc7_amd64_gcc700

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7d227e/8268/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 3214618
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3214283
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 140 log files, 14 edm output root files, 34 DQM output files

Copy link
Contributor

@perrotta perrotta left a comment

Choose a reason for hiding this comment

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

Please fix the default value in the fillDescription() method: then this PR is ready to be backported

@@ -1131,6 +1132,7 @@ void PATElectronProducer::fillDescriptions(edm::ConfigurationDescriptions & desc
)->setComment("input with high level selection");
iDesc.addNode( edm::ParameterDescription<edm::InputTag>("pvSrc", edm::InputTag(), true)
)->setComment("input with high level selection");
iDesc.add<bool>("getdBFromTrack", true)->setComment("switch IP2D computation to use the GSF track instead of IPTools");
Copy link
Contributor

Choose a reason for hiding this comment

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

default must be "false" in the backport

@cmsbuild
Copy link
Contributor

Pull request #30892 was updated. @perrotta, @jpata, @cmsbuild, @santocch, @slava77 can you please check and sign again.

@perrotta
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 29, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: a30039f
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7d227e/8391/summary.html
CMSSW: CMSSW_10_6_X_2020-07-28-2300
SCRAM_ARCH: slc7_amd64_gcc700

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7d227e/8391/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 3214618
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3214283
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 140 log files, 14 edm output root files, 34 DQM output files

@perrotta
Copy link
Contributor

+1

  • The backport is appropriate, taking into account the extra switch added to guarantee the "no change" policy for the production 10_6 release
  • Jenkins tests pass and show no difference wrt the baseline: the new behavior is only enabled by run2_miniAOD_devel

@silviodonato
Copy link
Contributor

merge
@santocch

@cmsbuild cmsbuild merged commit 232bb8f into cms-sw:CMSSW_10_6_X Aug 4, 2020
@santocch
Copy link

santocch commented Aug 7, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 7, 2020

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_2_X is complete. This pull request will be automatically merged.

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