Some applications of the Schwartz space of a semisimple Lie group