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

Ecal shape db #23600

Merged
merged 10 commits into from Jul 24, 2018
Merged

Ecal shape db #23600

merged 10 commits into from Jul 24, 2018

Conversation

theofil
Copy link
Contributor

@theofil theofil commented Jun 15, 2018

This is about an improved ECAL Shape Class to be used upon digitization. It supports sub nanosecond precision in the ECAL signal pulses and is fully configurable from the DB, in view of the Phase II upgrade where the detector will have a shorter pulse shape. More details can be found in my ECAL DPG presentation:

https://indico.cern.ch/event/731948/

The new shape class supports also the old style Phase-I logic that makes no attempt to fetch information from the DB. In this pull request the code is committed with the DB usage currently de-activated, to allow easier approval of the PR. A second PR is foreseen once this PR is approved (and thus also the new DB Ecal Object can go in the global tag), to actually enable the DB configuration and read the conditions from the corresponding global tag.

I have validated the resulting output with a small scale ZEE MC production as well as a dedicated tool that instantiates ad-hoc pulses.

@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-23600/5208

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23600/5208/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23600/5208/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly

@slava77
Copy link
Contributor

slava77 commented Jun 15, 2018

there are 4K lines of text files with generated numbers.
Why are these numbers not in a DB already?

@theofil
Copy link
Contributor Author

theofil commented Jun 15, 2018

@slava77 if you are referring to those files:

CondTools/Ecal/python/APD_SimPulseShape.txt
CondTools/Ecal/python/EB_SimPulseShape_PhaseII.txt
CondTools/Ecal/python/EB_SimPulseShape.txt
CondTools/Ecal/python/EE_SimPulseShape.txt

those are used to create the sqlite3 file, which is later-on passable to create the DB conditions. For me, they are not essential to stay in the release and can be removed, if needed. But for future reference and to allow other developers to see how the code works, it might be good to have them. However, the code works without them.

@theofil
Copy link
Contributor Author

theofil commented Jun 15, 2018

I see that I need to run the

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23600/5208

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23600/5208/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23600/5208/git-diff.patch | patch -p1

and update the PR. Should I do that already now, or wait for all the release managers to comment in present version of the PR and submit the second PR only afterwards hopefully integrating all comments received ?

@slava77
Copy link
Contributor

slava77 commented Jun 15, 2018 via email

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @theofil (Konstantinos Theofilatos) for master.

It involves the following packages:

CalibCalorimetry/EcalSRTools
CalibCalorimetry/EcalTPGTools
CalibCalorimetry/EcalTrivialCondModules
CondCore/EcalPlugins
CondFormats/DataRecord
CondFormats/EcalObjects
CondTools/Ecal
RecoLocalCalo/EcalRecProducers
RecoTBCalo/EcalTBRecProducers
SimCalorimetry/EcalSimAlgos
SimCalorimetry/EcalSimProducers
Validation/EcalDigis

@perrotta, @cmsbuild, @civanch, @vazzolini, @kmaeshima, @arunhep, @mdhildreth, @dmitrijus, @nsmith-, @rekovic, @franzoni, @jfernan2, @cerminar, @thomreis, @slava77, @ggovi, @pohsun, @vanbesien, @lpernie can you please review it and eventually sign? Thanks.
@makortel, @mmusich, @seemasharmafnal, @tocheng, @argiro 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

@slava77
Copy link
Contributor

slava77 commented Jun 18, 2018

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 18, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28734/console Started: 2018/06/18 15:34

@lpernie
Copy link
Contributor

lpernie commented Jul 22, 2018

+1

@andrius-k
Copy link

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

@fabiocos
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 23, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29332/console Started: 2018/07/23 14:09

@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-23600/29332/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 540 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2889291
  • DQMHistoTests: Total failures: 1989
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2887112
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@kpedro88
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit f6ce7a4 into cms-sw:master Jul 24, 2018
@theofil theofil deleted the ecalShapeDB branch January 25, 2019 16:37
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