backporting GenPartonProducer