This is an older version than in the IB. I had changed PV to use the consumes API and the tokens. Please update PrimaryVertexProducer.h and .cc