Skip to content

feat: use DD4hep G4HepEm plugin in npsim#308

Open
wdconinc wants to merge 2 commits into
masterfrom
g4hepem
Open

feat: use DD4hep G4HepEm plugin in npsim#308
wdconinc wants to merge 2 commits into
masterfrom
g4hepem

Conversation

@wdconinc

@wdconinc wdconinc commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

This PR enables the G4HepEm plugin in DD4hep, and uses it in npsim by default.

Needs:

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue: DD4hep G4HepEm plugin)
  • Optimization (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

EM shower physics will defer to G4HepEm.

Copilot AI review requested due to automatic review settings June 9, 2026 23:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Spack environment defaults to enable the DD4hep G4HepEm plugin path and to use an npsim revision that defaults to G4HepEm, aligning the container images with the intended simulation backend.

Changes:

  • Enable the g4hepem variant for acts in spack-environment/packages.yaml.
  • Switch npsim from a released version pin (@1.6.0) to a git-based version (@git.g4hepem).
  • Update the pinned eic/eic-spack commit used during container builds.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
spack-environment/packages.yaml Enables +g4hepem for ACTS and changes the default npsim version to a git ref to pick up G4HepEm-default behavior.
eic-spack.sh Bumps the pinned eic/eic-spack commit to pick up required Spack package recipe changes.

npsim:
require:
- '@1.6.0'
- '@git.g4hepem'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Acknowledged. This is for testing only, until the named ref is merged.

Copilot AI review requested due to automatic review settings June 9, 2026 23:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread spack-environment/packages.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants