Having issues passing a hepmc file with many different vertices #6
Unanswered
reynier0611
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@bspage912 This sounds familiar, doesn't it? I think we need to revisit our debugging of this issue from last December. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We created a synchrotron-radiation event generator using the available synchrotron-radiation single-photon events. That is, we go from single photons to full events that we can then use as a background source. The output of this event generator is a hepmc file composed with pyhempc (I don't have experience with it and the only example I can find of using pyhepmc is here: https://github.com/scikit-hep/pyhepmc/blob/main/tests/test_basic.py). See attached a sample output hepmc file with 3 events.
I then pass these events through GEANT in DD4HEP:
npsim --runType batch --numberOfEvents 3 --compactFile ${DETECTOR_PATH}/epic.xml --inputFiles /path/to/file.hepmc --outputFile /path/to/output.root
and when I inspect the output root file with hits, specifically MCParticles/MCParticles.vertex.x, y, or z, all vertices are at (0,0,0) whereas we expect these photons to come from different vertices (as indicated in the hepmc file).
Am I doing anything obviously wrong from what I described here?
out_int_window_100.0ns_nevents_3.hepmc.zip
Beta Was this translation helpful? Give feedback.
All reactions