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

LowPtElectrons: switch to Autumn18 models #26012

Merged
merged 3 commits into from Feb 27, 2019

Conversation

bainbrid
Copy link
Contributor

@bainbrid bainbrid commented Feb 25, 2019

This PR updates the models used by the lowPtGsfElectrons chain. The old models were "Fall17"; the new are "Autumn18". The Autumn18 models are available as externals in this (merged) PR:
cms-data/RecoEgamma-ElectronIdentification#13.

This PR also switches to a "Very Loose" working point for the low pT ElectronSeed module.

  1. Commit 23e8326: Trivially moves some default configuration values (concerning the models) from the fillDescriptions() method of LowPtGsfElectronIDProducer to an explicit declaration in RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronID_cff.py. This commit was (accidentally) added to 10_2_X before master in the ad31169 commit as part of Final BDT models based on 10.2 MC samples #25936.

  2. Commit 48fead2: Points to the new Autumn18 files and updates the corresponding L,M, and T working points

  3. Commit 9f8467b: Adds the thresholds for a Very Loose WP and makes VL the new default for the bParking era. The back port of this commit can be found in LowPtElectrons: bug fixes + minor updates + Autumn18 models + new VL WP #26013.

The timing and footprint increases w.r.t. nominal when using the Autumn18 models and the default Tight working point used by all standard sequences are provided below.

Timing, standard workflows, Tight WP:

The same excluding the first 1 events
  delta/mean delta/orJob     original                   new       module name
  ---------- ------------     --------                  ----       ------------
       added      +3.46%         0.00 ms/ev ->       540.15 ms/ev lowPtGsfElectronSeeds
       added      +0.52%         0.00 ms/ev ->        81.78 ms/ev lowPtGsfEleGsfTracks
       added      +0.09%         0.00 ms/ev ->        13.45 ms/ev lowPtGsfEleCkfTrackCandidates
       added      +0.06%         0.00 ms/ev ->        10.07 ms/ev lowPtGsfElePfTracks
       added      +0.08%         0.00 ms/ev ->        12.86 ms/ev lowPtGsfElePfGsfTracks
       added      +0.00%         0.00 ms/ev ->         0.03 ms/ev lowPtGsfElectronSeedValueMaps
       added      +0.01%         0.00 ms/ev ->         1.15 ms/ev lowPtGsfElectronID
       added      +0.03%         0.00 ms/ev ->         4.04 ms/ev lowPtGsfElectronCores
       added      +0.21%         0.00 ms/ev ->        32.58 ms/ev lowPtGsfElectrons
       added      +0.04%         0.00 ms/ev ->         6.76 ms/ev lowPtGsfElectronSuperClusters
                  +4.50%                             702.87 ms/ev
  ---------- ------------     --------                  ----       ------------
Job total:  15.6045 s/ev ==> 16.2956 s/ev

RECO footprint, standard workflows, Tight WP:

-----------------------------------------------------------------
   or, B         new, B      delta, B   delta, %   deltaJ, %    branch
-----------------------------------------------------------------
      0.0 ->       143.7        144     NEWO   0.00     recoGsfElectronCores_lowPtGsfElectronCores__RECO
      0.0 ->       120.6        121     NEWO   0.00     floatedmValueMap_lowPtGsfElectronID__RECO
      0.0 ->      5864.6       5865     NEWO   0.18     recoCaloClusters_lowPtGsfElectronSuperClusters__RECO
      0.0 ->       595.2        595     NEWO   0.02     recoSuperClusters_lowPtGsfElectronSuperClusters__RECO
      0.0 ->      1531.2       1531     NEWO   0.05     recoGsfTracks_lowPtGsfEleGsfTracks__RECO
      0.0 ->       127.5        127     NEWO   0.00     floatedmValueMap_lowPtGsfElectronSeedValueMaps_ptbiased_RECO
      0.0 ->       127.0        127     NEWO   0.00     floatedmValueMap_lowPtGsfElectronSeedValueMaps_unbiased_RECO
      0.0 ->      3456.4       3456     NEWO   0.10     recoGsfElectrons_lowPtGsfElectrons__RECO
-------------------------------------------------------------
  3348098 ->     3360658      12212            0.35     ALL BRANCHES

The lowPtGsfElectrons are not added to miniAOD for all standard workflows.

@slava77 @perrotta @mverzett @nancymarinelli @gkaratha

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26012/8533

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bainbrid for master.

It involves the following packages:

RecoEgamma/EgammaElectronProducers

@cmsbuild, @perrotta, @slava77 can you please review it and eventually sign? Thanks.
@jainshilpi, @Sam-Harper, @varuns23, @rovere, @lgray this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26012/8534

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

@gudrutis
Copy link
Contributor

Please test with cms-sw/cmsdist#4728

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 25, 2019

The tests are being triggered in jenkins.
Using externals from cms-sw/cmsdist#4728
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33269/console

@perrotta
Copy link
Contributor

Thank you @gudrutis !

@cmsbuild
Copy link
Contributor

@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-26012/33269/summary.html

Comparison Summary:

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

@perrotta
Copy link
Contributor

perrotta commented Feb 26, 2019

@bainbrid : performance numbers seem to change quite often for those low pt electrons. The comparisons you are listing in the PR descriptions clearly do not refer to the baseline (which already includes all those lotPtEle modules). They also differ somehow to what was evaluated previously for the ancestors of this PR, see for example #25753 (comment), for which the TTbar+PU workflow 11024.0 was used.

In order to reduce the confusion, could you please specify how did you obtain the performance numbers listed in the PR description? In particular:

  • Which workflow were you using for it? How many events?
  • Which baseline are you comparing to?
  • Do the timing includes also Validation/DQM or only the reco/miniAOD steps?

The RECO event size apparently differ significantly only in the recoCaloClusters_lowPtGsfElectronSuperClusters, and I expect that this can be correlated to the bug fixes for it that were integrated in the meanwhile with #25960 and #25974.

Timing for the tight working point also seems rather inflated here with respect to the last evaluations that we made for #25679 (but you still have to define how was it computed here). The new model should only affect ID, not the seeds: when you specify better how all those numbers where derived we can draw some conclusion on it.

@bainbrid
Copy link
Contributor Author

bainbrid commented Feb 26, 2019 via email

@perrotta
Copy link
Contributor

Thank you @bainbrid : the key point is that you are normalizing timings on the RECO/miniAOD (good!) and the wf used is the same as in the previous evaluations (also good!).

As a comparison, could you please provides the numbers also for the VL working point? Or should we rely on the evaluations that you provide in #26013 for it, even if measured on a different base release?

@bainbrid
Copy link
Contributor Author

bainbrid commented Feb 26, 2019 via email

@perrotta
Copy link
Contributor

And what do you use for the baseline? 10_2 default in both cases, or 10_2_X baseline in one case and a "managed" master to remove even the tight wp from it for 10_6_X?

@bainbrid
Copy link
Contributor Author

bainbrid commented Feb 26, 2019 via email

@perrotta
Copy link
Contributor

perrotta commented Feb 26, 2019

+1

  • Models used by the lowPtGsfElectrons chain are updated as reported in the PR description
  • It requires Upgrade RecoEgamma-ElectronIdentification to V01-01-03 on IB/CMSSW_10_6_X/gcc700 cmsdist#4728
  • This being (hopefully) the last integration in the master for the low pt electron reco meant to the bParking, the computing performance are reported in the same description.
    • Even with the tight working point which will be activated by default in the standard workflows the cpu time requested for these low pt electrons adds up to some 4.5% of the whole RECO+miniAOD chain.
    • This is not negligible, but in line with what already evaluated (and considered acceptable) with the previous models
  • Jenkins tests show no differences because the new low pt electrons are not yet monitored by them. The new models however end up in an enlarged selection for the low pt electrons with the tight working point, see for example in the wf 136.85_RunEGamma2018A where the number of reconstructed low pt electrons, tight wp, increases by some 10%:
    • Pt of the low pt electrons with the original model in the 10_6_X IB baseline, tight wp:
      lowptelectrons_old
    • Pt of the low pt electrons with the new model as in this PR, tight wp:
      lowptelectrons_new

@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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

the needed external cms-sw/cmsdist#4728 has been merged has well

@cmsbuild cmsbuild merged commit f049ce3 into cms-sw:master Feb 27, 2019
@bainbrid bainbrid deleted the LowPtElectronsFull_105X_Autumn18 branch August 6, 2019 12:00
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