This looks fine to me. If there is no EE geometry defined at all, there should not be any EE cells to add to the CaloTowers.