CMS 3D CMS Logo

ModuleChanger.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : ModuleChanger
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Jul 15 15:05:10 EDT 2010
11 //
12 
13 // system include files
14 
15 // user include files
18 
19 using namespace edm;
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
32  ProductRegistry const* iRegistry,
34  : schedule_(iSchedule), registry_(iRegistry), indices_(std::move(iIndices)) {}
35 
36 // ModuleChanger::ModuleChanger(const ModuleChanger& rhs)
37 // {
38 // // do actual copying here;
39 // }
40 
42 
43 //
44 // assignment operators
45 //
46 // const ModuleChanger& ModuleChanger::operator=(const ModuleChanger& rhs)
47 // {
48 // //An exception safe implementation is
49 // ModuleChanger temp(rhs);
50 // swap(rhs);
51 //
52 // return *this;
53 // }
54 
55 //
56 // member functions
57 //
58 
59 bool ModuleChanger::changeModule(const std::string& iLabel, const ParameterSet& iPSet) {
60  return schedule_->changeModule(iLabel, iPSet, *registry_, indices_);
61 }
62 
63 //
64 // const member functions
65 //
66 
67 //
68 // static member functions
69 //
edm::ModuleChanger::indices_
eventsetup::ESRecordsToProxyIndices indices_
Definition: ModuleChanger.h:56
edm::eventsetup::ESRecordsToProxyIndices
Definition: ESRecordsToProxyIndices.h:35
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ModuleChanger::ModuleChanger
ModuleChanger(Schedule *, ProductRegistry const *iReg, eventsetup::ESRecordsToProxyIndices)
Definition: ModuleChanger.cc:31
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
Definition: ModuleChanger.cc:59
edm::ProductRegistry
Definition: ProductRegistry.h:34
edm::Schedule
Definition: Schedule.h:122
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
Schedule.h
edm::ModuleChanger::schedule_
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:54
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
edm::ModuleChanger::~ModuleChanger
virtual ~ModuleChanger()
Definition: ModuleChanger.cc:41
edm::ModuleChanger::registry_
ProductRegistry const * registry_
Definition: ModuleChanger.h:55
ModuleChanger.h