Incorrect Vertex when running e- particle gun simulation

18 views
Skip to first unread message

iesa khanji

unread,
Oct 27, 2025, 6:32:44 PMOct 27
to GlueX Software Help
Hello,

I have been trying to create a particle gun simulation for e-, running it with gluex_MC.py to produce smeared hddm files.  Pathway to all that stuff here /w/halld-scshelf2101/home/mkhanji/Masters/JPsi/NNTraining/DSelector/electronGun.   That also has my Environment file.

I then have made a plugin to look at some values (pathway /w/halld-scshelf2101/home/mkhanji/Masters/JPsi/NNTraining/DSelector/electronGun/plugin/eminus_particle_gun), and that's where I notice something has gone wrong.  The vertex should be at 1 cm, which is what I see for thrown values 
Screen Shot 2025-10-27 at 5.42.45 PM.png
But when using extrapolation I get the majority at about 14 cm.
Screen Shot 2025-10-27 at 5.47.26 PM.png
 

I'm not sure how to go about troubleshooting this and would appreciate any help.  I can provide more information as needed.

iesa khanji

unread,
Oct 27, 2025, 6:33:07 PMOct 27
to GlueX Software Help
Forgot to mention I'm using run 101582 also.

iesa khanji

unread,
Oct 27, 2025, 6:54:51 PMOct 27
to GlueX Software Help
Realized the images didn't likely load. The first image attached is the thrown vertex, the second is the extrapolated.
Screen Shot 2025-10-27 at 6.51.52 PM.png
Screen Shot 2025-10-27 at 6.53.28 PM.png

iesa khanji

unread,
Oct 29, 2025, 11:24:06 AMOct 29
to GlueX Software Help
This is the Z DOCA, which I was requested to show during today's meeting.
Screen Shot 2025-10-29 at 11.23.10 AM.png

Alexander Austregesilo

unread,
Nov 4, 2025, 9:23:53 AMNov 4
to iesa khanji, GlueX Software Help

Hi Iesa,

Simon is proposing a fix for your observation in the halld_recon branch CppVertexFix and pull request #1063 (https://github.com/JeffersonLab/halld_recon/tree/CppVertexFix).

Can you please check if it works for you?

Thanks,

Alex

--
You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gluex-software/2bf7163b-3821-4e7e-a6e3-49862087027an%40googlegroups.com.
-- 
Alexander Austregesilo

Staff Scientist - Experimental Nuclear Physics
Thomas Jefferson National Accelerator Facility
Newport News, VA
aaus...@jlab.org
(757) 269-6982

iesa khanji

unread,
Nov 7, 2025, 2:27:08 PMNov 7
to GlueX Software Help
Hi,  It looks like it does work. My vertex plot looks very reasonable now.
Screen Shot 2025-11-07 at 2.26.36 PM.png
Reply all
Reply to author
Forward
0 new messages