For given $q$ it is easy to compute this integral using integration by parts. For general integer(even) $q>0$, Mathematica gives the formula: $-Ei[-q,iX]+(ix)^{-1-q}q!$ where $Ei$ is exponential integral. Is exponential integral related with some known polynomials?
I also need a real and imaginary part of this expression.