Generalizing to use HGCalDDDConstants instead of parsing the DDD explicitely