Cleaned hard drive, reinstalled OSX- now all my iTunes purchased music is gone
Sign in to itunes, click iTunes Store. In the right hand column there is a link to "purchased"

 

This opens to a screen that looks like this:



You can re-download everything from there as long as its all on the single apple ID.

Good Luck!