Suppressing most optical photons in interactive mode

Hello All,

I was wondering if there was an easy/elegant/not-too-convoluted way to suppress all optical photon events EXCEPT FOR those originating from Cerenkov processes in interactive mode (or just generally).
I apologize in advance if this has been answered elsewhere on the forum.

Thanks.
Joe

In stepping action, you can check the originating process (scintillation, pair production, decay) and stopandkill the ones that do not originate from Cerenkov

Thank for the suggestion. I will try that out. I was wondering if this was an equivalent solution for turning the processes off via the macro file:

For historical completeness, yes, your macro will suppress generation of photons by scintillation.

1 Like