Multi threaded code of geant4 for simulations. For being used over the cluster.