/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/interface/ModuleChanger.h
59 строк
2 KB
Chris Jones
Move to SignallingProductRegistryFiller
09 мар 2025, 05:34
09 мар 2025, 05:34
4c63b96
Код
Авторство
О чём код?
#ifndef FWCore_Framework_ModuleChanger_h #define FWCore_Framework_ModuleChanger_h // -*- C++ -*- // // Package: Framework // Class : ModuleChanger // /**\class ModuleChanger ModuleChanger.h FWCore/Framework/interface/ModuleChanger.h Description: Handles modifying a module after the job has started Usage: This class is used by an EDLooper at the end of a loop in order to modify the parameters of a module. */ // // Original Author: Chris Jones // Created: Thu Jul 15 15:05:17 EDT 2010 // // system include files #include <string> // user include files #include "FWCore/Utilities/interface/propagate_const.h" #include "FWCore/Framework/interface/ESRecordsToProductResolverIndices.h" // forward declarations namespace edm { class ParameterSet; class Schedule; class SignallingProductRegistryFiller; class ModuleChanger { public: ModuleChanger(Schedule*, SignallingProductRegistryFiller const* iReg, eventsetup::ESRecordsToProductResolverIndices); ModuleChanger(const ModuleChanger&) = delete; // stop default const ModuleChanger& operator=(const ModuleChanger&) = delete; // stop default virtual ~ModuleChanger(); // ---------- const member functions --------------------- // ---------- static member functions -------------------- // ---------- member functions --------------------------- bool changeModule(const std::string& iLabel, const ParameterSet& iPSet); private: // ---------- member data -------------------------------- edm::propagate_const<Schedule*> schedule_; SignallingProductRegistryFiller const* registry_; eventsetup::ESRecordsToProductResolverIndices indices_; }; } // namespace edm #endif