Solid state radiation detector with intrinsic gain