The HF Laser as an Irreversible Heat Engine