performance improvement for HLTrigger/JetMET/src/PixelJetPuId.cc

Following a @vinn suggestion: apply performance improvement for HLTrigger/JetMET/src/PixelJetPuId.cc
@silviodonato and @arizzi please check