Hegarty, who is 52, is a graduate of St Patrick's College in Maynooth and obtained a PhD in physics from University College Galway. After spells at the University of Wisconsin-Madison and Bell Laboratories in the US, he moved to Trinity as professor of laser physics in 1986. Since then he has also served as head of the physics department and dean of research.