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 ToA for overlapping events #20460
Conversation
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20460/627 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/PR-20460/627/git-diff.patch You can run |
@amartelli |
The code-checks are being triggered in jenkins. |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@amartelli I observe minor changes in HGC hits in the comparisons for 2023 workflows (and downstream quantities). I also observe minor changes in ECAL and HCAL hits, presumably due to changes in random number usage in the DIGI step. Do you have any plots showing expected effects in Phase 2 workflows? (i.e. with more than 10 events) |
Hi @kpedro88 I did a validation with ~1000 events and no pileup, with the configurations in the digitizer changed so to enable all the changes in the PR (as in [1]https://github.com/amartelli/reco-prodtools/blob/updateConfigs_ToA/templates/partGun_GSD_template.py#L11-L21). In the attached plots you can see an example for time comparison and sumpT, red for 910pre2 default release and blue for 930pre4 with the ToA changes. I judged the difference in the energy as possibly due to the difference in release and it's not a major difference anyway. Now, coming to your observations. Even without the changes in the configuration mentioned above [1], there is a possible change in the number of calls to a random smearing in the digitizer. Indeed with this PR, considering hard process only, energy deposits late by more than 25ns with charge above the threshold for ToA are not considered (and thus not smeared), while in a default release they are. Could this be enough to explain the difference that you observe? |
@amartelli thanks for the check. I think the calibrations have been changed between 91X and 93X, so that can account for some energy difference. The change in which hits are smeared would probably cause the calo-related fluctuations I observed. |
+1 |
+1 |
+1
|
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 (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
This PR updates the time-of-arrival computation for HGCAL cells and contains:
To be effective, a specific configuration has to be used in the DIGI step, as in https://github.com/amartelli/reco-prodtools/blob/updateConfigs_ToA/templates/partGun_GSD_template.py#L11-L21
Workflow tested on few events with 200 pileup.
ToA performance validate with a single particle gun at zero pileup.