31 if (fileName.find(
"file:") == 0){
36 produces<HepMCProduct>(
"generator");
37 produces<GenEventInfoProduct>(
"generator");
48 LogInfo(
"MCFileSource") <<
"Start Reading";
50 return(
evt_ !=
nullptr);
57 auto bare_product = std::make_unique<HepMCProduct>();
58 bare_product->addHepMCData(
evt_);
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
static PFTauRenderPlugin instance
edm::propagate_const< HepMC::GenEvent * > evt_
std::vector< std::string > const & fileNames() const
edm::propagate_const< HepMCFileReader * > reader_
bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType) override
unsigned long long TimeValue_t
void produce(Event &e) override