openPMD-api icon indicating copy to clipboard operation
openPMD-api copied to clipboard

Geant4 converter

Open berceanu opened this issue 3 years ago • 2 comments

Hi, a bit of a general question, but is there an openPMD-to-Geant4 converter available?

berceanu avatar Oct 26 '22 14:10 berceanu

We have an implementation in Geant4 that we used to write particles that we then load in WarpX.

You can find the implementation here: https://github.com/LDAmorim/GPos

ax3l avatar Nov 15 '22 05:11 ax3l

Hi @ax3l, thanks for the reply. So it seems on first look the code you mentioned is a converter in the direction Geant4-to-OpenPMD. At the moment I am interested in the inverse problem, namely taking particles from WarpX and using them as input for Geant4, in a very similar configuration, with a thin foil. I guess that is not implemented?

berceanu avatar Nov 15 '22 14:11 berceanu