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

Add SiStripApvSimulationParameters database object and record #27941

Merged
merged 6 commits into from
Sep 16, 2019

Conversation

pieterdavid
Copy link
Contributor

PR description:

This PR adds a new object and record to hold the APV simulation baseline distributions, as discussed in #27823 .
It also adds an ESSource to create it from the existing ascii files, and an EDAnalyzer to add it to the database.
Thanks @mmusich and @EmyrClement for the help and feedback!

PR validation:

Compiles, unit tests (serialization) run, created an sqlite file with a payload, adapted the digitizer to use this database (or the product directly from the ESSource in the same job). Inspected the xml of the payload and tested histogram sampling code in a standalone example.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27941/11786

  • This PR adds an extra 72KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

A new Pull Request was created by @pieterdavid (Pieter David) for master.

It involves the following packages:

CalibTracker/SiStripESProducers
CondCore/SiStripPlugins
CondCore/Utilities
CondFormats/DataRecord
CondFormats/PhysicsToolsObjects
CondFormats/SiStripObjects
CondTools/SiStrip

@christopheralanwest, @tocheng, @cmsbuild, @franzoni, @tlampen, @ggovi, @pohsun can you please review it and eventually sign? Thanks.
@echabert, @erikbutz, @gbenelli, @tocheng, @VinInn, @mmusich, @threus, @seemasharmafnal this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@christopheralanwest
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/2389/console Started: 2019/09/05 20:46

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2019

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e3ca66/2389/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2955796
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2955454
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 145 log files, 15 edm output root files, 34 DQM output files

@christopheralanwest
Copy link
Contributor

@pieterdavid Should I re-run the tests including PR #27823 as well?

@cmsbuild
Copy link
Contributor

@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-fd8976/2500/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2957224
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2956881
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 145 log files, 15 edm output root files, 34 DQM output files

@fabiocos
Copy link
Contributor

@civanch @christopheralanwest @pohsun @ggovi this PR and the parallel #27823 are reported by PPD @srimanob as desired for CMSSW_11_0_0_pre8, and therefore keeping the new pre-release on hold. Could you please check them?

@tocheng
Copy link
Contributor

tocheng commented Sep 13, 2019

+1

@ggovi
Copy link
Contributor

ggovi commented Sep 16, 2019

+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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@@ -71,7 +71,7 @@ namespace PhysicsTools {
binULimitsX(binULimitsX),
binULimitsY(binULimitsY),
binULimitsZ(binULimitsZ),
binValues((binULimitsY.size() + 1) * strideX * strideY),
binValues((binULimitsZ.size() + 1) * strideX * strideY),
Copy link
Contributor

Choose a reason for hiding this comment

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

@pieterdavid @ggovi for my understanding, this looks a bug fix, is it backward compatible in term of CondFormat? It is not changing neither the structure nor the interface of the format itself, so I would say it is...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assumed nobody used this constructor before, because if used to create a histogram with more Z than Y-bins, accessing a bin beyond the array would throw an exception (as long as this is not the constructor used by the deserialisation code it should be compatible).

@fabiocos
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.

9 participants