I am working on simulations of a scintillator and I am interested in obtaining information on the reflections occurring inside the scintillator following particle interaction - is there a way of counting the number of reflections?
In your stepping action, get the “process defined step”, check if it is boundary reflection, then check the boundary process status for “Reflection”. See the example extended/optical/OpNovice2.