Looking for a part: I want to put a vertical hinge onto a standing pipe
I'm interpreting the question as: I'd like to clamp on some hardware to a pipe which would allow me to attach and rotate another pipe on the same plane as the original pipe. 

If you already have the part in your post and you want to figure out a way to make it fit, you can use that part along with two u-bolts, just position the u-bolts at the width of the bolt holes. 

Your other option would be to buy some purpose built hardware from the local industrial supply. Here's a page that has some hardware that I think will spark your interest: https://www.zoro.com/modular-pipe-and-rail-fittings/c/5624/ 

Good luck on your project!