The invention relates to (heterocycle-tetrahydropyridine)(piperazinyl)-1-alkanone and (heterocycle-dihydropyrrolidine)(piperazinyl)-1-alkanone derivatives of general formula (I)in which A, B, m, W, n and R2 are as defined in claim 1, and also to the process for preparing them and to their therapeutic use.本發明係關於通式(I)之(雜環-四氫吡啶)(哌基)-1-烷酮及(雜環-二氫吡咯啶)(哌基)-1-烷酮衍生物,其中A、B、m、W、n及R2如請求項1中所定義;以及製備該等化合物之方法及其治療用途。