/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
IOMC/Input/interface/MCFileSource.h
44 строки
1 KB
W. David Dagenhart
Reduce the memory usage of the InputFileCatalog
18 май 2026, 23:53
18 май 2026, 23:53
7e6433c
Код
Авторство
О чём код?
#ifndef IOMC_Input_MCFileSource_h #define IOMC_Input_MCFileSource_h /** \class MCFileSource * * Reads in HepMC events * Joanna Weng & Filip Moortgat 08/2005 ***************************************/ #include "FWCore/Sources/interface/ProducerSourceBase.h" #include "FWCore/Utilities/interface/propagate_const.h" #include "FWStorage/Catalog/interface/InputFileCatalog.h" class HepMCFileReader; namespace HepMC { class GenEvent; } namespace edm { class Event; class EventID; struct InputSourceDescription; class ParameterSet; class Timestamp; class MCFileSource : public ProducerSourceBase { public: MCFileSource(const ParameterSet& pset, const InputSourceDescription& desc); ~MCFileSource() override; private: bool setRunAndEventInfo(EventID&, TimeValue_t& time, EventAuxiliary::ExperimentType& eType) override; void produce(Event& e) override; void clear(); edm::propagate_const<HepMCFileReader*> reader_; edm::propagate_const<HepMC::GenEvent*> evt_; edm::InputFileCatalog inputFileCatalog_; bool useExtendedAscii_; }; } // namespace edm #endif