Study of W boson production in pPb collisions at root(NN)-N-S=5.02 TeV