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

HGCAL scintillator digitisation: adequate dynamic range (follow up 28349) #28463

Conversation

franzoni
Copy link

@franzoni franzoni commented Nov 25, 2019

PR description:

This is a follow up to the PR 28349, which pointed out the necessity of extending the dynamic range for energy of the HGCAL scintillator.
We do it by introducing the realistic digitisation also for the scintillators, even though not all parameters of the electronics and photo detection are currently known. By using the 10 bits of the adc (leaving the LSB un-changed) and the 12 bits for the amplitude measurement after the ToA switch, we are able to extend the saturation value to 1000 MIP (up from 275), which comfortably covers magnitude of physical deposits in the scintillator cells.

PR validation at digi level

HEback-Mod-sample

We verify that (for 100 ttbar events, no pu, same GEN-SIM for target-pr-> RED and reference->BLACK) with this PR the mode bit of the in-time bunch-crossing (3rd in a window of 5 samples) turns on for the hardest hits,

HEback-DIGI-sample_2
and that the amplitude of the digi themselves is limited to below ~0.8*1024, the current coverage of the adc (the hits which exceed the threshold now use the toA way of recording the amplitude, which has a larger LSB and are therefore buried in the bulk of the distribution).
HEback-DIGI-sample_3

We verify also that in the bunch-crossing after the in-time sample (4th in a window of 5), more hits are present which stems from shape leakage of the realistic digitisation now used for the scintillators.
No changes in EE and HEfront.

PR validation at rechit level

HEback-RH-sample

The spectrum of HGCAL scintillator rechits in statistically unvaried for hits which don't hit the old saturation threshold.

HEback-T-sample

The reconstructed time now happens for hits above the ToA threshold (previously no such thing was possible with the single-BX trivial digitisation). The ball-park values make sense and can enable studies, we don't aim at tuning the details since the actual parameters of the scintillator part are not known.

this PR is not a backport

@franzoni
Copy link
Author

please test

@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-28463/12900

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 25, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/3609/console Started: 2019/11/25 12:47

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @franzoni (Giovanni Franzoni) for master.

It involves the following packages:

RecoLocalCalo/HGCalRecAlgos
RecoLocalCalo/HGCalRecProducers
SimCalorimetry/HGCalSimProducers

@perrotta, @civanch, @kpedro88, @cmsbuild, @mdhildreth, @slava77 can you please review it and eventually sign? Thanks.
@edjtscott, @vandreev11, @sethzenz, @makortel, @felicepantaleo, @riga, @rovere, @lgray, @cseez, @apsallid, @pfs, @deguio, @argiro, @kpedro88, @clelange 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

@fabiocos
Copy link
Contributor

@civanch any further comment?

@jbsauvan
Copy link
Contributor

Just to mention that since the HGCAL HSci digis are also used in the L1 TPG, I plan to transpose the exact same fix to the L1 sequence. I plan to make an other PR with these changes Today evening (CERN time).

@fabiocos
Copy link
Contributor

@jbsauvan do I correctly understand that this is needed to avoid inconsistencies?

@jbsauvan
Copy link
Contributor

The L1 TPG assumes the previous HCAL Sci digi format, so it will misinterpret the energy values in the TDC case.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 27, 2019

The tests are being triggered in jenkins.
Tested with other pull request(s) #28495
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/3671/console Started: 2019/11/27 19:19

@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-4f7b2b/3671/summary.html

Comparison Summary:

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

@civanch
Copy link
Contributor

civanch commented Nov 27, 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)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit efb3f18 into cms-sw:master Nov 27, 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.

10 participants