Optical pulse generation in a transistor laser via intra-cavity photon-assisted tunneling and excess base carrier redistribution