# How to specify the domain of a parameter?

There is a similar post: How to specify the domain of a variable?, but it doesn't work well for me.

I want to evaluate the integral below, with a parameter $$\gamma$$. The result is obviously different depending on $$\gamma>1/2$$ or $$\gamma<1/2$$. I tried the "AddAssumption" method in that post, but it doesn't work out. It gives the result for $$\gamma<1/2$$ either way.