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

Phase2-hgx350 Make modifications for the HGCal version V18 in the case of mouse bite, guard rings, ... #43449

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

bsunanda
Copy link
Contributor

PR description:

Make modifications for the HGCal version V18 in the case of mouse bite, guard rings, ...

PR validation:

Using the 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:

Nothing special

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43449/37998

  • This PR adds an extra 36KB to repository

  • Found files with invalid states:

    • Geometry/HGCalCommonData/src/#HGCalCellUV.cc#:

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43449/37999

  • This PR adds an extra 40KB to repository

  • Found files with invalid states:

    • Geometry/HGCalCommonData/src/#HGCalCellUV.cc#:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master.

It involves the following packages:

  • Geometry/HGCalCommonData (geometry, upgrade)
  • SimG4CMS/Calo (simulation)

@cmsbuild, @makortel, @srimanob, @bsunanda, @civanch, @mdhildreth, @Dr15Jones can you please review it and eventually sign? Thanks.
@fabiocos, @wang0jin, @thomreis, @rovere, @felicepantaleo, @ReyerBand, @slomeo this is something you requested to watch as well.
@rappoccio, @antoniovilela, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6dc338/36209/summary.html
COMMIT: f4294f0
CMSSW: CMSSW_14_0_X_2023-11-30-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43449/36209/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@civanch
Copy link
Contributor

civanch commented Dec 1, 2023

+1

@srimanob
Copy link
Contributor

srimanob commented Dec 1, 2023

@cmsbuild please test

Just to re-trigger the test, to see if we can get clean result on unrelated workflows.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6dc338/36234/summary.html
COMMIT: f4294f0
CMSSW: CMSSW_14_0_X_2023-11-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43449/36234/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@srimanob
Copy link
Contributor

srimanob commented Dec 2, 2023

+Upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 2, 2023

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

@srimanob
Copy link
Contributor

srimanob commented Dec 2, 2023

Note to @bsunanda @civanch

Not relate to this PR, but please consider to issue reported by static check.

/pool/condor/dir_62157/jenkins/workspace/ib-run-pr-tests/CMSSW_14_0_X_2023-11-30-2300/src/SimG4CMS/Calo/src/CaloSD.cc:220:13: warning: const_cast was used, this may result in thread-unsafe code [threadsafety.ConstCast]
  220 |             const_cast<G4Track*>(tk)->SetTrackStatus(fStopAndKill);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/pool/condor/dir_62157/jenkins/workspace/ib-run-pr-tests/CMSSW_14_0_X_2023-11-30-2300/src/SimG4CMS/Calo/src/CaloSD.cc:422:102: warning: Called C++ object pointer is null [core.CallAndMessage]
  422 |       edm::LogVerbatim("CaloSim") << "CaloSD: EndofEvent entered for container " << k << " with " << theHC[0]->entries()
      |               

@civanch
Copy link
Contributor

civanch commented Dec 2, 2023

@srimanob , Thanks for pointing to the problem. Here const_cast is thread safe. Geant4 design expect that SD class or SteppingAction cannot change G4Track status, only physics process should do this. In reality, this rule will bring an overhead, because such extra process will need to make extra filtering, so we prefer doing this in user actions, where we check several things. At the same time, your comment is valid, because it is acceptable if SteppingAction may kill a track, why CaloSD is doing this to me not clear. I would think that responsibility for MC truth and to change track status should not be spread between several places - they should be in one place.

@antoniovilela
Copy link
Contributor

+1

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.

5 participants