This integral appears on solving a particular problem of gamma ray detectors. I have tried several substitutions and methods but can't solve it. Maybe it uses some special functions.
$$\int_{\theta_1}^{\theta_2} \cos^{-1}(a\hspace{0.05cm}\cot \theta)e^{-b\hspace{0.05cm}\sec(\theta)}\sin(\theta)d\theta$$
where $a=\frac{l}{y}cos(\frac{\pi}{n})$ and b are constants.
$tan(\theta_1)=a$ and $tan(\theta_2)=asec(\frac{\pi}{n})$
How to solve it?