Study of production and cold nuclear matter effects in pPb collisions at=5 TeV