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

HFNose: implement aging #31981

Merged
merged 9 commits into from Nov 20, 2020

Conversation

mariadalfonso
Copy link
Contributor

Input from BRIL feb2020
https://indico.cern.ch/event/875501/contributions/3765913/attachments/1994019/3326168/HFNose5.pdf

Various validation plots obtained with the SW in this PR are here
http://dalfonso.web.cern.ch/dalfonso/HGCAL/AGING/

No changes expected in the HGCAL scenario 23234.103

@franzoni @pfs

@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-31981/19456

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

SLHCUpgradeSimulations/Configuration
SimCalorimetry/HGCalSimAlgos
SimCalorimetry/HGCalSimProducers

@cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks.
@vandreev11, @sethzenz, @makortel, @sviret, @rovere, @lgray, @cseez, @apsallid, @pfs, @deguio, @hatakeyamak, @ebrondol, @mtosi 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

@@ -66,13 +65,13 @@ class HGCalSiNoiseMap : public HGCalRadiationMap {
@short returns the charge collection efficiency and noise
if gain range is set to auto, it will find the most appropriate gain to put the mip peak close to 10 ADC counts
*/
const SiCellOpCharacteristicsCore getSiCellOpCharacteristicsCore(const HGCSiliconDetId &did,
const SiCellOpCharacteristicsCore getSiCellOpCharacteristicsCore(const unsigned cell_raw_Id,
GainRange_t gain,
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not particularly like this approach. In my opinion, this goes against the strongly typed nature of C++ and reminds me of the void *, used and abused in the old C-days.
This is also introducing unnecessary branching conditions in the code, that will end up wasting CPU cycles. They are unnecessary since the branch is fully known and determined by the correct type of DetId.
I'd therefore suggest a factorization of the part of the code that could stay untouched and in common between the 2 detectors, and use a template+specialization to handle the cases driven by the type.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for the feedback, I can template this class
give me a couple of days

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2020

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31981/19504

  • This PR adds an extra 24KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31981/19505

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31981/19857

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

Pull request #31981 was updated. @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please check and sign again.

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 17, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 143a0a3
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-668341/10806/summary.html
CMSSW: CMSSW_11_2_X_2020-11-17-1100
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-668341/10806/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2529296
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2529261
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 34 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 148 log files, 22 edm output root files, 35 DQM output files

@civanch
Copy link
Contributor

civanch commented Nov 19, 2020

+1

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

@qliphy
Copy link
Contributor

qliphy commented Nov 20, 2020

+1

@cmsbuild cmsbuild merged commit 12ea97e into cms-sw:master Nov 20, 2020
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

7 participants