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

Migrate GEM/CSC validation to esConsumes #31102

Merged
merged 4 commits into from
Aug 25, 2020
Merged

Migrate GEM/CSC validation to esConsumes #31102

merged 4 commits into from
Aug 25, 2020

Conversation

dildick
Copy link
Contributor

@dildick dildick commented Aug 8, 2020

PR description:

Migrate GEM and CSC validation to esConsumes and edm::ESGetToken to provide better threading efficiency, in response to #31061.

Included:
RecoLocalMuon/CSCEfficiency
RecoLocalMuon/CSCValidation
Validation/CSCRecHits
Validation/MuonCSCDigis
Validation/MuonGEMDigis
Validation/MuonGEMHits
Validation/MuonGEMRecHits
Validation/MuonHits
Validation/MuonME0Validation

PR validation:

Tested with WF 23234.0

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

N/A

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 8, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 8, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31102/17654

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 8, 2020

A new Pull Request was created by @dildick (Sven Dildick) for master.

It involves the following packages:

Validation/MuonCSCDigis
Validation/MuonHits

@kmaeshima, @cmsbuild, @andrius-k, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor

Thanks!

@@ -56,8 +55,7 @@ void CSCDigiValidation::analyze(const edm::Event &e, const edm::EventSetup &even
theSimHitMap.fill(e);

// find the geometry & conditions for this event
edm::ESHandle<CSCGeometry> hGeom;
eventSetup.get<MuonGeometryRecord>().get(hGeom);
edm::ESHandle<CSCGeometry> hGeom = eventSetup.getHandle(geomToken_);
Copy link
Contributor

Choose a reason for hiding this comment

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

You could make your life a bit easier by doing

const CSCGeometry *pGeom = &eventSetup.getData(geomToken_);

@dildick dildick changed the title Migrate CSC validation to esConsumes Migrate GEM/CSC validation to esConsumes Aug 9, 2020
@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31102/17661

  • This PR adds an extra 76KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2020

Pull request #31102 was updated. @benkrikler, @kmaeshima, @andrius-k, @cmsbuild, @rekovic, @jfernan2, @fioriNTU can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 9, 2020

The code-checks are being triggered in jenkins.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 11, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 93fb6ab
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-34ce58/8696/summary.html
CMSSW: CMSSW_11_2_X_2020-08-10-2300
SCRAM_ARCH: slc7_amd64_gcc820

@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-34ce58/8696/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2612401
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2612346
  • DQMHistoTests: Total skipped: 48
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@jfernan2
Copy link
Contributor

+1

@jpata
Copy link
Contributor

jpata commented Aug 12, 2020

+1

  • tests pass with no changes to outputs, as expected for a technical change
  • moves to esConsumes in a number of packages
  • changes cout -> edm::LogInfo in a few files, unchanged in others
  • cleans up some duplicate headers

@dildick
Copy link
Contributor Author

dildick commented Aug 13, 2020

@rekovic Could you sign off, please? Thank you.

@silviodonato
Copy link
Contributor

kind reminder @cms-sw/l1-l2

@rekovic
Copy link
Contributor

rekovic commented Aug 25, 2020

+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Aug 25, 2020

+1

@cmsbuild cmsbuild merged commit 8fb30d5 into cms-sw:master Aug 25, 2020
@dildick dildick deleted the from-CMSSW_11_2_X_2020-08-06-1100-csc-validation-handles branch August 25, 2020 16:18
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.

10 participants