Exploitation of thermal gradients for investigation of irradiation temperature effects with charged particles