An event-by-event computer simulation of interactions of energetic charged particles and all their secondary electrons in water