writing given data from pick file into event file

writing given data from pick file into event file; some numbers have to be added due to type reasons