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

Modifying the AlcaPCCIntegrator for processing concurrent lumiblocks #37538

Merged

Conversation

radla118
Copy link
Contributor

PR description:

The former AlcaPCCIntegrator is not capable of processing concurrent luminosity blocks, since it is an edm::one::EDProducer. The new module is implemented as an edm::global::EDProducer to be able to run on mulitple threads. The output is not modified, and the corresponding workflow remains the same.

Temporary fix and description of the issue: #37130

PR validation:

The modified producer is tested locally.

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

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37538/29258

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Calibration/LumiAlCaRecoProducers (alca)

@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@mmusich, @tocheng 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

Comment on lines 90 to 93
edm::Handle<reco::PixelClusterCountsInEvent> pccHandle;
iEvent.getByToken(pccToken_, pccHandle);

const reco::PixelClusterCountsInEvent inputPcc = *(pccHandle.product());
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be simplified to

Suggested change
edm::Handle<reco::PixelClusterCountsInEvent> pccHandle;
iEvent.getByToken(pccToken_, pccHandle);
const reco::PixelClusterCountsInEvent inputPcc = *(pccHandle.product());
const reco::PixelClusterCountsInEvent &inputPcc = iEvent.get(pccToken);

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

test parameters:

  • enable_tests = threading
  • workflows = 1020

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

@cmsbuild , please test

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

Hi @makortel , since this PR is about moving to multi-threading, I'd appreciate if you could have a look at it and give some feedback. Thanks!

@mmusich
Copy link
Contributor

mmusich commented Apr 12, 2022

Shouldn't the real test be done by reverting in the same PR also #37130?

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

Shouldn't the real test be done by reverting in the same PR also #37130?

Oh yes, good point!

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

@cmsbuild , please abort

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

@tvami
Copy link
Contributor

tvami commented Apr 12, 2022

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37538/29261

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-82e4f8/24324/summary.html
COMMIT: 78daa84
CMSSW: CMSSW_12_4_X_2022-04-28-2300/slc7_amd64_gcc10
Additional Tests: THREADING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/37538/24324/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-82e4f8/1001.2_RunZeroBias2017F+RunZeroBias2017F+TIER0EXPRUN2+ALCAEXPRUN2+ALCAHARVDSIPIXELCAL+ALCAHARVDSIPIXELCALLA
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-82e4f8/1020.0_AlCaLumiPixels2021+AlCaLumiPixels2021+TIER0EXPLP+ALCAEXPLP+ALCAHARVLP+TIER0PROMPTLP

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3695616
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3695580
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 50 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 215 log files, 45 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

@radla118 radla118 marked this pull request as ready for review April 29, 2022 12:10
@tvami
Copy link
Contributor

tvami commented Apr 29, 2022

Hi @radla118 would you like to deal with this comment https://github.com/cms-sw/cmssw/pull/37538/files#r848720360 in this PR, or rather in a follow-up?

@radla118
Copy link
Contributor Author

Hi @radla118 would you like to deal with this comment https://github.com/cms-sw/cmssw/pull/37538/files#r848720360 in this PR, or rather in a follow-up?

Hi @tvami, I would fix the issue in a follow-up PR, since some of the configuration files are also affected

@tvami
Copy link
Contributor

tvami commented Apr 29, 2022

Ok, I made a reminder issue about it:
cms-AlCaDB/AlCaTools#61

@tvami
Copy link
Contributor

tvami commented Apr 29, 2022

+alca

@makortel
Copy link
Contributor

+core

@clacaputo
Copy link
Contributor

+reconstruction

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2022

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)


private:
edm::EDPutTokenT<reco::PixelClusterCounts> lumiPutToken_;
Copy link
Contributor

Choose a reason for hiding this comment

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

In the forthcoming PR in which you fix the trackedness of the parameters, please also make these class members const

@perrotta
Copy link
Contributor

perrotta commented May 2, 2022

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

None yet

9 participants