Seol mar théacs é seo: Optimal passive and active control mechanisms for seismically excited buildings