37 if (fileName.find(
"file:") == 0){
42 produces<HepMCProduct>();
59 if (
evt_ == 0)
return false;
61 bare_product->addHepMCData(
evt_);
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
virtual void initialize(const std::string &filename)
virtual bool produce(Event &e)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
HepMCFileReader * reader_
HepMC::GenEvent * fillCurrentEventData()