When using the Likelihood Ratio test for testing particular hypotheses and attempting to obtain an size-$\alpha$ test, I run into the expression $$ \mathbb{P}\left( Z^2 \cdot I(Z > 0) > c \right) = \alpha $$ where $I(\cdot)$ is the typical indicator function. My goal is to find an expression for $c$ so that the above statement is true. I want to check if my reasoning is correct for finding the distribution of this $Z^2 \cdot I(Z > 0)$ random variable.
Let $Y = Z^2 \cdot I(Z > 0) = Z^2 \vert (Z > 0)$. Then
\begin{align*} \mathbb{P}(Y \leq y) &= \mathbb{P}(Z^2 \leq y \vert Z > 0) \\[8pt] &= \frac{\mathbb{P}(Z^2 \leq y \quad\text{ AND }\quad Z > 0)}{\mathbb{P}(Z > 0)} \\[8pt] &= 2 \mathbb{P}( -y \leq Z \leq y \quad\text{ AND }\quad Z > 0) \\[8pt] &= 2 \mathbb{P}(0 < Z \leq y) \\[8pt] &= 2 \Phi(y) - 1 \end{align*} where $\Phi(x)$ is the standard normal CDF. From this expression, I think I then may be able to find the desired $c$ through some algebra. Is this reasoning correct for finding the distribution of $Z^2 \vert (Z > 0)$?