splitting of simulation and reconstruction code (T.Kuhr)