Temperature courses during treatment of work pieces