dear Kihong, It seems that you can get x-ray spectrum with GATE unless you add a Penelope model in the physics list. But for me the way is still not work. Right now I use geant4 the generate the x-ray spectrum. Best regard, zhaowei IHEP,CAS