Pathological Manic Attention Dysfunction (PMAD)
PMAD is primarily characterized by obsessive and harmful thoughts and behaviors combined with a clinically significant extreme in mood expression in situations requiring mental focus.
Source: Page 236 of the DSM-IV-FE*
Sounds like something I might well have suffered from.
Pinched from
hils.