Energy deposition with DETECT card

Hello to all,

Is there a way to get the energy deposition in DETECT but only for the primary beam and not for the secondary particles?

Thank you very much.

Kind Regards,

Dear @duarte.guerreiro,

Unfortunately, the DETECT card scores the energy deposition for all events in the respective region, i.e. it is not possible to filter only on selected particles.

One alternative you have is to use an mgdraw.f subroutine and filter based on the generation number LTRACK.EQ.1 (primary particles).


1 Like

Hello, Daniel,

Thank you for your answer.

Kind Regards,