Issues related to particle temperature

Hello developer, may I bother you? I would like to output the average temperature of particles in the flow field. What code should I add? Thank you very much.

You can do that with monitors, no need to write code.

Thank you very much for your reply.