Traceformulas are useful in the study of resonances. In this article. we wo
rk in a semi-classical black box framework and obtain a traceformula of the
same type as that of the second author, now for the resonances in h-depend
ent domains of size It. and under somewhat more restrictive assumptions. As
an application, we extend to it long range situation a result by V. Petkov
and M. Zworski on Breit-Wigner peaks in the scattering phase. (C) 2001 Aca
demic Press.