Here is a goal: how to shoot in call of duty for the ps3

Which way makes more sense to accomplish this goal?

pick from the following.
A). Shake the controller to shoot the weapon that is equipped.
B). press the R1 trigger to shoot the equipped weapon.
B).