Energy weapon

Ray guns were a name sometimes for energy weapons, usually of the hand-held type.