I am thoroughly disillusioned with open offices. Headphones are a paper-thin barrier against being interrupted while in the midst of thinking; a good, solid, closed door might do the job better.
And you need not listen to distracting music; prerecorded white noise works well for a lot of people.