The verdict
Neither wins outright. Both are compound pulls through hip extension and knee extension, and both list the glutes and hamstrings among the muscles worked. The trap bar is listed at beginner level and lists the quadriceps as its only primary muscle, with the glutes and hamstrings helping, and the record suits it to lifters who want a deadlift that loads the legs more and the back less. The conventional pull is listed at intermediate level and lists the glutes, hamstrings and lower back as primary, and it moves the most weight of the big barbell lifts, so it is the pull most programs track. Pick the trap bar when you want a heavy pull that leans on the legs, and the straight bar when you want the pull your program tracks.
Muscles, equipment, force and level from the PasteLift exercise library records for the trap bar deadlift and the deadlift. Sets and reps from the ACSM position stand, cited below.