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

Cell XY to UV conversion fo HGCal wafers #37361

Merged
merged 10 commits into from Apr 12, 2022
Merged

Conversation

Pruthvi-ch
Copy link
Contributor

PR description:

There will no changes in the output.
No dependencies
This is related to getting cell id (u, v) form the (x, y) position inside a wafer. https://indico.cern.ch/event/1136462/

PR validation:

Use runTheMatrix test workflows 'runTheMatrix.py -l limited -i all --ibeos'
Specific cfg's in Geometry/HGCalCommonData/test/python/testHGCalCellUVTester_cfg.py to test working

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

Nothing

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37361/29014

  • This PR adds an extra 20KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37361/29015

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Pruthvi-ch for master.

It involves the following packages:

  • Geometry/HGCalCommonData (geometry, upgrade)

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks.
@bsunanda, @fabiocos 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

@srimanob
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14eaf3/23420/summary.html
COMMIT: fe80db1
CMSSW: CMSSW_12_4_X_2022-03-26-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37361/23420/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3483 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3695650
  • DQMHistoTests: Total failures: 49413
  • DQMHistoTests: Total nulls: 54
  • DQMHistoTests: Total successes: 3646161
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@Pruthvi-ch
Copy link
Contributor Author

Pruthvi-ch commented Mar 30, 2022

There are some changed method names in PR #37374 which will affect this PR, so I will commit the changes after that PR is merged

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2022

Pull request #37361 was updated. @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please check and sign again.

@Pruthvi-ch
Copy link
Contributor Author

@cmsbuild please test

@perrotta
Copy link
Contributor

perrotta commented Apr 7, 2022

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14eaf3/23748/summary.html
COMMIT: d532590
CMSSW: CMSSW_12_4_X_2022-04-07-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37361/23748/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3593039
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3593015
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 200 log files, 45 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@Pruthvi-ch
Copy link
Contributor Author

Any Updates?

@bsunanda
Copy link
Contributor

@cvuosalo @srimanob Could you please sign this again?

@cvuosalo
Copy link
Contributor

+1

@srimanob
Copy link
Contributor

+Upgrade

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

Comment on lines +39 to +41
const double sqrt3By2_ = (0.5 * sqrt3_);
const double sin60_ = sqrt3By2_;
const double cos60_ = 0.5;
Copy link
Contributor

Choose a reason for hiding this comment

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

Another simplification could be to use everywhere in the code sin60_ instead of sqrt3By2_, since this is everywhere what it is ment to (as well as using cos60_ instead of 0.5 when it has the same meaning):

Suggested change
const double sqrt3By2_ = (0.5 * sqrt3_);
const double sin60_ = sqrt3By2_;
const double cos60_ = 0.5;
const double sin60_ = 0.5 * sqrt3_;
const double cos60_ = 0.5;

But let it for a possible further code cleaning

@perrotta
Copy link
Contributor

+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

6 participants