I'm not sure. A tic usually is just physical, not "thinking" oriented? This sounds the other way around? My niece use to do a funny thing with her hands. . .
OCD can be brought under control by CBT and the like but you were saying you couldn't control this?
http://www.aap.org/publiced/BK5_Tics.htm