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.
void produce(edm::Event &, const edm::EventSetup &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~PassThroughEvtVtxGenerator() override
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
PassThroughEvtVtxGenerator(const edm::ParameterSet &)
const HepMC::GenEvent * GetEvent() const
edm::EDGetTokenT< edm::HepMCProduct > sourceToken