What is the term for these piles of tiles on top of a roof?
It's a kind of roof ornament. I can't tell what exactly it is from your photo, but most of them are 吻兽. It is a common roof ornament in ancient Chinese architectural.