The cooler fits the socket, and the
gammax 400 is only 154,5mm high. Althoug the product page of the case
manufacturer does not provide information about the cpu cooler height clearance, the case has a 120mm fan in the back, and has a width of 182mm, so I suppose it will fit.