/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Integration/plugins/ThingSource.h
46 строк
1 KB
Chris Jones
Moved plugins to FWCore/Integration/plugins
10 янв 2023, 17:49
10 янв 2023, 17:49
974ebbd
Код
Авторство
О чём код?
#ifndef Integration_ThingSource_h #define Integration_ThingSource_h /** \class ThingSource * * \version 1st Version Dec. 27, 2005 * ************************************************************/ #include "FWCore/Framework/interface/Frameworkfwd.h" #include "ThingAlgorithm.h" #include "FWCore/Sources/interface/ProducerSourceBase.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" namespace edmtest { class ThingSource : public edm::ProducerSourceBase { public: // The following is not yet used, but will be the primary // constructor when the parameter set system is available. // explicit ThingSource(edm::ParameterSet const& pset, edm::InputSourceDescription const& desc); ~ThingSource() override; bool setRunAndEventInfo(edm::EventID&, edm::TimeValue_t&, edm::EventAuxiliary::ExperimentType&) override { return true; } void produce(edm::Event& e) override; void beginRun(edm::Run& r) override; void beginLuminosityBlock(edm::LuminosityBlock& lb) override; static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); private: //called internally, not by the framework void endRun(edm::Run& r); void endLuminosityBlock(edm::LuminosityBlock& lb); ThingAlgorithm alg_; }; } // namespace edmtest #endif