Skip to content

gen_amp_V2 vertex centering - #408

Merged
mashephe merged 1 commit into
masterfrom
gen_amp_V2_centerVertex
Aug 4, 2026
Merged

gen_amp_V2 vertex centering#408
mashephe merged 1 commit into
masterfrom
gen_amp_V2_centerVertex

Conversation

@jrstevenjlab

Copy link
Copy Markdown
Contributor

Add vertex centering as default for gen_amp_V2, which places all generated events at the center of the target (x,y,z) = (0,0,65) cm. This is the default for most generators, which leaves the simulation of the vertex distribution to hdgeant4. When these events are processed by hdgeant4 it first spreads the event vertices randomly across the target volume by default to get the appropriate distribution along the beamline.

Thanks to @duberii for identifying this issue

… spread the vertex across the target volume by default (same as other generators
@gluex

gluex commented Aug 3, 2026

Copy link
Copy Markdown

Test status for this pull request: SUCCESS

Summary: summary.txt
Logs: results/log

Build log: make_gen_amp_V2_centerVertex.log
Build report: report_gen_amp_V2_centerVertex.txt

@mashephe mashephe 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.

Thanks for making this change to make compliant with standard behavior.

@mashephe
mashephe merged commit 227cd4a into master Aug 4, 2026
2 checks passed
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.

3 participants