26 using namespace CLHEP;
36 <<
"The PassThroughEvtVtxGenerator requires the RandomNumberGeneratorService\n" 37 "which is not present in the configuration file. \n" 38 "You must add the service\n" 39 "in the configuration file or remove the modules that require it.";
49 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