Let $X$ be a Gaussian vector in $\mathbb{R}^n$ with $\mathbb{E}[X]=0$ and $\mathbb{E}[X X^\intercal]=I_n$. Let $\mathbf{S}$ be a convex polytope in $\mathbb{R}^n$ defined as the intersection of $m$ $(m<n)$ half spaces, $\{ x\in\mathbb{R}^n\mid \langle x,\theta_i\rangle\ge 0 \}_{1\le i\le m}$. How do we compute $\mathbb{E}[|X|^2 \mathbb{1}_{X\in \mathbf{S}}]$?
I believe when $m=2$, there is a clean explicit formula for the expectation and it should depend on $n$ and the angle between $\theta_1$ and $\theta_2$. When $n$ is larger, can we still get an explicit formula for this expectation? If we can, how does it depend on $n$ and the angles?