How to set arbitrary position of source point in "PrimaryGeneratorAction.cc"

Dear experts,

I try to set arbitrary position of source point in “PrimaryGeneratorAction.cc” like “/gps/hist/type arb” in “.mac” file, but I had no idea about this. Could you help me?

Best regards,
Jiechen