30 if (fileName.find(
"file:") == 0){
35 produces<HepMCProduct>();
46 LogInfo(
"MCFileSource") <<
"Start Reading";
48 return(
evt_ !=
nullptr);
55 std::auto_ptr<HepMCProduct> bare_product(
new HepMCProduct());
56 bare_product->addHepMCData(
evt_);
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
static PFTauRenderPlugin instance
edm::propagate_const< HepMC::GenEvent * > evt_
virtual void produce(Event &e)
std::vector< std::string > const & fileNames() const
virtual bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::propagate_const< HepMCFileReader * > reader_
unsigned long long TimeValue_t
volatile std::atomic< bool > shutdown_flag false