The judge , Qais Hashim Shameri , died in a hail of bullets Tuesday as he drove through Baghdad .