The hats are given to charity in most cities.
The tradition of the hat trick actually dates back to paleolithic England, to the game of Cricket. I guess some guy "knocked down" three wickets (not the pesky ewok) in a row. This was considered such an astounding feat that he was given a hat by his team (or something like that).