Early Type Galaxies in the Chandra COSMOS survey