Corentin ALLAIRE
Corentin ALLAIRE
I think this is now completely outdated compared to all the recent changes in the seeding so we can probably close this .
I have had an other look at this and I just notice something. If I start removing the support from the ODD xml the segfault happen much later so maybe...
I was checking back this issue out of curiosity and it is still there. Maybe we should try to investigate this again at some point ?
Wait the energy goes to 0 in the second step. Could it be that G4 doesn't handle photon stopping in some volumes ?
Oh yeah I was looking at the wrong line... But you are right, the world volume size is 10m along z so this photon is outside the DD4Hep detector.
Unfortunately, I don't think this is the only issue :( I tried to edit the particle selector to remove all particle with x, y or z larger than 5m (in...
Oh perfect I will have a look next week in more detail then !
A bit unrelated but there is a bug in 'addGeant4' in 'simulation.py'. Line 597 it uses `particles_input` for the G4 input (instead of `particles_selected`) ignoring the particle selector. I can...
> A bit unrelated but there is a bug in 'addGeant4' in 'simulation.py'. Line 597 it uses `particles_input` for the G4 input (instead of `particles_selected`) ignoring the particle selector. I...
With this you can cut the particle outside the detector by adding `preselectParticles = ParticleSelectorConfig(eta=(-3.0, 3.0),absZ=(0, 1e4), pt=(150 * u.MeV, None), removeNeutral=True),` to the `addGeant4`. Doesn't solve the segfault in...