The structure of hot gas in Cepheus B