Asymmetry measurement of the vector boson produced in the STAR experiment at the Relativistic Heavy Ion Collider