XENONnT / epix

Electron and Photon Instructions generator for XENON
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Save primary particle positions #56

Closed PavelKavrigin closed 2 years ago

PavelKavrigin commented 2 years ago

What is the problem / what does the code in this PR do

Positions of the primary particles from G4 are recorded in the output instructions.

Can you give a minimal working example (or illustrate with a figure)?

The notebook linked below can be used for tests. Requirements:

/dali/lgrandi/pkavrigin/2022-06-02_TestWFSimTruth/Test_NewTruth.ipynb

PavelKavrigin commented 2 years ago

Just make sure that both of these PRs are merged together. The epix update uses the updated instructions type from the WFSim update.

ramirezdiego commented 2 years ago

Thanks, that's why I was linking the PR in WFSim. We will have a new release in both ends 👍