I want to evaluate the following integral
For given arbitrary function $f$ and Dirac Delta function $\delta$ with Heaviside Theta function $\Theta$, what is the form of
\begin{align} \int_{p} f(p) \delta(p+a) \Theta(p) \end{align}
Mathematica just produces $f(-a) \Theta(-a)$ for some condition $a$. i.e. ,$a\in \mathbb{R}$.
It seems one can safely shift the input of the Heaviside Theta function via the Dirac Delta function. Is this interpretation correct?