Hi, everyone: Sorry to bother those not interested. Here is my problem: In which part of the source code the event ID is assigned to each Gamma photon after it is generated. And any good suggestions if I want to change the event ID for some photons. Thanks a lot! Si Chen