Let $Y$ be a random variable and $$g(x) = \mathrm{E}[\text{max}(Y-x, 0)] = \int_{-\infty}^{\infty} \text{max}(y-x, 0)f(y)dy$$ I know that $g$ is convex since for any fixed $y$, $\text{max}(y-x, 0)$ is convex and $f(y) \geq 0$.
My question is that what is the most general condition on $f$ (if any), such that $g$ becomes strictly convex?
Thanks!