Characteristic analysis of a photon converter in a medical LINAC using GEANT4