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

Convert EcalSelectiveReadoutProducer to stream module #41712

Merged
merged 2 commits into from
May 29, 2023

Conversation

Dr15Jones
Copy link
Contributor

@Dr15Jones Dr15Jones commented May 17, 2023

PR description:

The EcalSelectiveReadoutProducer was converted from a one:: to stream:: module as DIGI workflows using large numbers of threads, greater than 64, were losing efficiency because of the module. As part of the conversion, a fillDescriptions method was also added.

To avoid unnecessary coupling of two modules, the static methods in the EDAnalyzer ECalSRCondTools were removed from the module and placed in a namespace.

PR validation:

The code compiles and a simple test running the DIGI+HLT steps succeeded.

The static member functions were moved to a separate namespace.
This avoids having other code include/link the module.
@Dr15Jones
Copy link
Contributor Author

@makortel FYI

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41712/35592

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

  • SimCalorimetry/EcalSelectiveReadoutProducers (simulation)

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@rchatter, @rovere, @argiro, @thomreis, @wang0jin, @sameasy this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7013e5/32700/summary.html
COMMIT: 2b80aff
CMSSW: CMSSW_13_2_X_2023-05-17-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/41712/32700/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
546.0 step 2
547.0 step 3
548.0 step 3
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • You potentially removed 14 lines from the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3222854
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3222832
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

const EcalTPGPhysicsConst* tp = hTp.product();
const EcalTPGPhysicsConstMap& mymap = tp->getMap();
if (mymap.size() != 2) {
cout << "Error: TPG physics record is of unexpected size: " << mymap.size()
Copy link
Contributor

@civanch civanch May 20, 2023

Choose a reason for hiding this comment

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

@Dr15Jones , is it OK to left "cout" in this class? Does it mean that it is allowed for "one" producer? My problem with these cout - it is not obvious which class is printing and is not clear that it is ECAL. I would use logWarning in that case
.

Copy link
Contributor

Choose a reason for hiding this comment

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

#41789 is created , so this PR may be merged.

@civanch
Copy link
Contributor

civanch commented May 29, 2023

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

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit b1e36dc into cms-sw:master May 29, 2023
@Dr15Jones Dr15Jones deleted the streamEcalSelectiveReadoutProducer branch June 21, 2023 18:15
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.

4 participants