Study of resonances produced in Heavy Ion Collisions