pushed geant4 code contributed from Bogdan.