This might sound like a stupid response, but my suggestion is to not think about it.
Don't think about the noise and just put your mind on something else: put it on a problem, or make your thoughts and your motivations directed towards the thing you are working on.
One thing about a sports-person is that they train themselves by their coach and through their experiences to deal with not only distractions, but the pressure as well. Maybe you can think about how to get the focus away from the noise but being aware of what specifically distracts you.
Is it a specific thing? Is it something specific that irritates you?
If you want to go deep into this, you might want to look at the concept of mental dissociation: the mind has a mechanism that allows it is to dissociate from things that range from something mild to something traumatic.
Another suggestion is meditation: you may find that meditating can help clear your mind and deal better with the above situations.
In the end though, it's going to be the practice of controlling your focus and that will translate to thinking about something else rather than the distractions that are there.