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

Clean up a few dead assignments from CalibCalorimetry/HcalAlgos and RecoMuon/TrackingTools #31781

Merged
merged 2 commits into from Oct 20, 2020

Conversation

perrotta
Copy link
Contributor

PR description:

Following some finding of the static analyzer, a few dead assignments are removed from the mentioned packages
I also took the opportunitiy to get rid of one extra sqrt computation in MuonErrorMatrix::Term(const AlgebraicSymMatrix55 &curv, int i, int j)

PR validation:

It builds correctly

@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-31781/19040

  • This PR adds an extra 44KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

CalibCalorimetry/HcalAlgos
RecoMuon/TrackingTools

@perrotta, @yuanchao, @slava77, @christopheralanwest, @tocheng, @cmsbuild, @tlampen, @jpata, @pohsun can you please review it and eventually sign? Thanks.
@bellan, @abdoulline, @abbiendi, @Fedespring, @echapon, @calderona, @cericeci, @HuguesBrun, @jhgoh, @tocheng, @mmusich, @trocino, @mariadalfonso, @folguera, @rociovilar this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 14, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: ab1d3e4
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7361ac/9936/summary.html
CMSSW: CMSSW_11_2_X_2020-10-13-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-7361ac/9936/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2543752
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2543729
  • DQMHistoTests: Total skipped: 22
  • 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

@perrotta
Copy link
Contributor Author

+1

  • Trivial clean up
  • Jenkins tests pass

@yuanchao
Copy link
Contributor

For 'CalibCalorimetry/HcalAlgos/src/HcalLogicalMapGenerator.cc' the modification is just commended out the dead assignment. Would it be better just remove the whole line? or 'mytype = 3' is still meaningful somewhere?

@perrotta
Copy link
Contributor Author

For 'CalibCalorimetry/HcalAlgos/src/HcalLogicalMapGenerator.cc' the modification is just commended out the dead assignment. Would it be better just remove the whole line? or 'mytype = 3' is still meaningful somewhere?

It was done on purpose, since I don't know if such an assignment was left as such with the intention of possibly reusing it in further developments. Of course, if the responsible of the code agrees that there is no reason to let such a "promemoria" in the code I will remove that line as a whole.

@abdoulline
Copy link

abdoulline commented Oct 16, 2020 via email

@silviodonato
Copy link
Contributor

Kind reminder @cms-sw/alca-l2

@silviodonato
Copy link
Contributor

urgent
can we merge this PR in pre8?
@cms-sw/alca-l2

@christopheralanwest
Copy link
Contributor

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

@silviodonato
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