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

Restructured code of againstElectronDeadECAL tauID (10_2_X) #29747

Merged

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented May 6, 2020

PR description:

Restructured code of againstElectronDeadECAL discriminator to run on either AOD or miniAOD inputs (backport of #29627):

  • add a version of the discriminant to run on top of pat::Taus to be used with miniAOD data samples;
  • use eta and phi of impact position of the leading PFChargedHadron on ECal surface instead of eta and phi of tau at the vertex (taking bending of track in the magnetic field and the zVertex into account) - feature disabled by default for backwards compatibility;
  • restructure the code in the way that both AOD and miniAOD version of the discriminant call the same algorithm to avoid code duplication;
  • move code performing the extrapolation to the ECal surface from the againstElectronMVA algorithm to an auxiliary helper class which avoids code duplication;

Expected some differences:

  • none with default workflows

PR validation:

runTheMatrix.py -l limited -i all passed successfully except a few failed due to problem with inputs (DAS_ERROR).

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

It is backport of #29627

veelken and others added 5 commits April 27, 2020 17:16
…n either AOD or miniAOD inputs

- use eta and phi of impact position of leadingPFChargedHadron on ECAL surface instead of eta and phi of tau at the vertex
 (taking bending of track in the magnetic field and the zVertex into account; disabled by default for backwards compatiblity)
…n ECAL surface (instead of taking eta and phi of tau at the vertex) when

running againstElectronDeadECAL discriminator on AOD level (for backwards compatibility)
- removed debug output
@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2020

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

It involves the following packages:

PhysicsTools/PatAlgos
RecoTauTag/RecoTau

@perrotta, @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 you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

perrotta commented May 6, 2020

backport of #29627

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented May 22, 2020

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 22, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6521/console Started: 2020/05/22 20:24

Copy link
Contributor

@slava77 slava77 left a comment

Choose a reason for hiding this comment

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

To be updated, to match the 106X or the master:

  • RecoTauTag/RecoTau/interface/TauDiscriminationProducerBase.h getProducerString and similarly in TauDiscriminationProducerBase.cc
  • RecoTauTag/RecoTau/plugins/TauDiscriminationAgainstElectronDeadECAL.cc
  • RecoTauTag/RecoTau/src/AntiElectronIDMVA6.cc

@cmsbuild
Copy link
Contributor

+1
Tested at: 1c372c5
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d65212/6521/summary.html
CMSSW: CMSSW_10_2_X_2020-05-22-1100
SCRAM_ARCH: slc6_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-d65212/6521/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 3007544
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3007353
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 14 edm output root files, 31 DQM output files

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented May 25, 2020

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 25, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6564/console Started: 2020/05/25 14:50

@cmsbuild
Copy link
Contributor

+1
Tested at: c7466f5
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d65212/6564/summary.html
CMSSW: CMSSW_10_2_X_2020-05-25-1100
SCRAM_ARCH: slc6_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-d65212/6564/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 3007544
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3007351
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 14 edm output root files, 31 DQM output files

@santocch
Copy link

+1

@slava77
Copy link
Contributor

slava77 commented May 27, 2020

+1

for #29747 c7466f5

  • this backport PR is consistent with the master version; more close to the 106X version of the backport as in Restructured code of againstElectronDeadECAL tauID (10_6_X) #29739 (except for no extra change added in PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py: the default behavior is unchanged and apparently there is no change to add the PAT/miniAOD-based deadECAL discriminant in the run2_miniAOD_devel here
  • jenkins tests pass and comparisons with the baseline show no (relevant) differences

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_2_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 5961530 into cms-sw:CMSSW_10_2_X May 27, 2020
@mbluj mbluj deleted the CMSSW_10_2_X_tau-pog_deadECAL branch May 28, 2020 08:45
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

7 participants