26 using namespace CLHEP;
33 <<
"The PassThroughEvtVtxGenerator requires the RandomNumberGeneratorService\n" 34 "which is not present in the configuration file. \n" 35 "You must add the service\n" 36 "in the configuration file or remove the modules that require it.";
44 return HepMC::FourVector(0., 0., 0., 0);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &) override
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
~PassThroughEvtVtxGenerator() override
PassThroughEvtVtxGenerator(const edm::ParameterSet &)
const HepMC::GenEvent * GetEvent() const
edm::EDGetTokenT< edm::HepMCProduct > sourceToken