The quoted formula is (For example Akula et al. Phys Lett B 699, 377, 2011):
$$m_T(W)=\sqrt{2p_T(W)\; /\hspace{-6pt}E_T(1-\cos(\Delta\phi(W,\; /\hspace{-6pt}E_T)))}$$