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);
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
~PassThroughEvtVtxGenerator() override
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
PassThroughEvtVtxGenerator(const edm::ParameterSet &)
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::HepMCProduct > sourceToken