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

HCAL M0 timing update/cleanup #26054

Merged
merged 5 commits into from Mar 11, 2019
Merged

Conversation

abdoulline
Copy link

@abdoulline abdoulline commented Mar 4, 2019

As discussed at HCAL DPG on Friday
https://indico.cern.ch/event/795881/
current M0 timing is suboptimal both for Phase1 collisions and for Cosmics/Splashes, as it uses
(i) tabulated corrections for old HPD pulse shape;
(ii) timing adjustment from obsolete (Run 1) DB conditions.

Both (i) and (ii) are now removed, SOI reference is used solely for collisions, not for Cosmics/Splashes. MC Cosmics-config and collisions [*] tests (including debugging printout inspection of ~100 ev) show expected behaviour: M0 timing vs energy is narrow and stable above several GeV.


[*]
NB: green color is for new M0 timing, the red one - for current default MAHI timing.
The latter is a pending issue #25526 and is being revised now.

HB :
https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HCAL/calo_scan_single_pi/10_X/10_5_0_pre2_2018_newM0timing_vs_10_5_0_pre2_2018_SinglePi/RecHitsTask_timing_vs_energy_profile_HB.gif

HE :
https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HCAL/calo_scan_single_pi/10_X/10_5_0_pre2_2018_newM0timing_vs_10_5_0_pre2_2018_SinglePi/RecHitsTask_timing_vs_energy_profile_HE.gif

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26054/8605

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

A new Pull Request was created by @abdoulline (Salavat Abdullin) for master.

It involves the following packages:

RecoLocalCalo/HcalRecAlgos

@cmsbuild, @perrotta, @slava77 can you please review it and eventually sign? Thanks.
@mariadalfonso, @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

@perrotta
Copy link
Contributor

perrotta commented Mar 4, 2019

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33379/console Started: 2019/03/04 10:01

@igv4321
Copy link
Contributor

igv4321 commented Mar 4, 2019

In the old code, there used to be a check for "negative excursions". The new code can, in principle, take the M0 time to outer space in case emax0 and emax1 have opposite signs and esum ends up close to 0. Are we really ok with that?

@abdoulline
Copy link
Author

abdoulline commented Mar 4, 2019 via email

@igv4321
Copy link
Contributor

igv4321 commented Mar 4, 2019

I believe that the "negative excursions" check was needed in order to simply calculate the energy-weighted average of the three time slices. Naturally, negative energies, used as weights, make little sense in such a calculation.

How about just checking whether emax1 in the new code is positive? If it is, proceed as originally intended (emax0 will be larger than or equal to emax1). If it is not, set the time to (maxI - soi)*25.f. In such a way we will also avoid potential division by 0.

@abdoulline
Copy link
Author

abdoulline commented Mar 4, 2019 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26054/8606

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33466/console Started: 2019/03/07 21:41

@slava77
Copy link
Contributor

slava77 commented Mar 7, 2019

@cmsbuild please abort test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2019

Jenkins tests are aborted.

@slava77
Copy link
Contributor

slava77 commented Mar 7, 2019

@cmsbuild please test

seems ready now

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33467/console Started: 2019/03/07 21:55

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3114826
  • DQMHistoTests: Total failures: 17
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3114612
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 133 log files, 14 edm output root files, 32 DQM output files

@slava77
Copy link
Contributor

slava77 commented Mar 8, 2019

+1

for #26054 3bf3d7b

  • code changes are in line with the PR description and the follow up review. The distributions now look in line with what's described in the thread and also shown in the meeting https://indico.cern.ch/event/803538/
  • jenkins tests pass and comparisons with the baseline show differences only in the cosmics/beam halo workflows as expected
  • manual plots of the hbhereco time in wf 4.22 show expected behavior: the updated time distribution (in red) is bounded and has no subtraction of SOI (starts from around 0)
    all_4 22_hbhereco_time_1d_all_logy1
    all_4 22_hbhereco_time_1d_e1_logy1

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

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

+1

@cmsbuild cmsbuild merged commit 0165e04 into cms-sw:master Mar 11, 2019
@abdoulline abdoulline deleted the M0_timing_update branch May 13, 2019 05:21
mariadalfonso added a commit to mariadalfonso/cmssw that referenced this pull request Jun 20, 2019
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