The influence of step point between two volumes

In Geant4, when a particle crosses the boundary between two volumes, it forces a step point. This is also true for two volumes of the same material. Will this affect the simulation results?

I don’t think so, at least in my case! For instance, I tally energy deposit in each step in the desired (detector) volume. And if I am really interested in getting rid off the points you mention, I just set below in my analysis script when scanning through all the entries:

if(volumeName=='detector' && pE>0){
//fill desired histograms or sum over pE in this volume
}