Code for simulation, sdigitization and digitization moved from macros to compiled...