File indexing completed on 2024-04-06 12:12:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "FWCore/Framework/interface/ModuleChanger.h"
0017 #include "FWCore/Framework/interface/Schedule.h"
0018
0019 using namespace edm;
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 ModuleChanger::ModuleChanger(Schedule* iSchedule,
0032 ProductRegistry const* iRegistry,
0033 eventsetup::ESRecordsToProductResolverIndices iIndices)
0034 : schedule_(iSchedule), registry_(iRegistry), indices_(std::move(iIndices)) {}
0035
0036
0037
0038
0039
0040
0041 ModuleChanger::~ModuleChanger() {}
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059 bool ModuleChanger::changeModule(const std::string& iLabel, const ParameterSet& iPSet) {
0060 return schedule_->changeModule(iLabel, iPSet, *registry_, indices_);
0061 }
0062
0063
0064
0065
0066
0067
0068
0069