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

Run3-hcx369 Allow only valid ZDChits to enter the digitization phase #46286

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Oct 7, 2024

PR description:

Allow only valid ZDChits to enter the digitization phase

PR validation:

Use runTheMatrix test workflows

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

May be required to be back ported

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46286/42107

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2024

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2024

A new Pull Request was created by @bsunanda for master.

It involves the following packages:

  • Geometry/ForwardGeometry (geometry)
  • SimCalorimetry/HcalSimProducers (simulation)

@Dr15Jones, @bsunanda, @civanch, @cmsbuild, @kpedro88, @makortel, @mdhildreth can you please review it and eventually sign? Thanks.
@abdoulline, @fabiocos, @mariadalfonso, @martinamalberti, @rovere, @sameasy this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@bsunanda
Copy link
Contributor Author

bsunanda commented Oct 7, 2024

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2024

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2364aa/42021/summary.html
COMMIT: fa726f2
CMSSW: CMSSW_14_2_X_2024-10-07-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46286/42021/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@abdoulline
Copy link

abdoulline commented Oct 7, 2024

Mat be it's worth also checking the relevant HI wfs 180.1 and 181.1 ? 🤔

for (unsigned int i = 0; i < zdcHitsOrig.size(); i++) {
DetId id(zdcHitsOrig[i].id());
HcalZDCDetId hid(id);
if (!ztopoP->valid(hid)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@bsunanda , in real run there will be many events. Is it correct to have unlimited printouts of wrong ZDC hits?

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 shall protect the printout of good ones - but the wrong DetId is an error and should not happen in normal runs. We have similar error printouts for HCAL which do not produce large printouts

@bsunanda
Copy link
Contributor Author

bsunanda commented Oct 8, 2024

I have tested 180.1 with 5000 events before sending this PR. I shall do it for 181.1 for a similar number of events. I cannot do for larger statistics

@civanch
Copy link
Contributor

civanch commented Oct 8, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 8, 2024

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. @sextonkennedy, @mandrenguyen, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 02c2348 into cms-sw:master Oct 8, 2024
11 checks passed
@abdoulline
Copy link

I have tested 180.1 with 5000 events before sending this PR. I shall do it for 181.1 for a similar number of events. I cannot do for larger statistics

Great!

@perrotta
Copy link
Contributor

perrotta commented Oct 8, 2024

Thank you @bsunanda for the fix!
Backports for 14_0_X and 14_1_X are also needed

bsunanda pushed a commit to bsunanda/cmssw that referenced this pull request Oct 8, 2024
cmsbuild added a commit that referenced this pull request Oct 9, 2024
Run3-hcx370 Protection to avoid unphysical ZDC SimHits which caused crashes during digitization (backport #46286)
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.

6 participants