test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Framework
src
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
16
#include "
FWCore/Framework/interface/ModuleChanger.h
"
17
#include "
FWCore/Framework/interface/Schedule.h
"
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
//
31
ModuleChanger::ModuleChanger
(
Schedule
* iSchedule,
ProductRegistry
const
* iRegistry):
32
schedule_(iSchedule),
33
registry_(iRegistry)
34
{
35
}
36
37
// ModuleChanger::ModuleChanger(const ModuleChanger& rhs)
38
// {
39
// // do actual copying here;
40
// }
41
42
ModuleChanger::~ModuleChanger
()
43
{
44
}
45
46
//
47
// assignment operators
48
//
49
// const ModuleChanger& ModuleChanger::operator=(const ModuleChanger& rhs)
50
// {
51
// //An exception safe implementation is
52
// ModuleChanger temp(rhs);
53
// swap(rhs);
54
//
55
// return *this;
56
// }
57
58
//
59
// member functions
60
//
61
62
bool
63
ModuleChanger::changeModule
(
const
std::string
& iLabel,
64
const
ParameterSet
& iPSet)
65
{
66
return
schedule_
->changeModule(iLabel,iPSet, *
registry_
);
67
}
68
69
//
70
// const member functions
71
//
72
73
//
74
// static member functions
75
//
ModuleChanger.h
edm::ModuleChanger::~ModuleChanger
virtual ~ModuleChanger()
Definition:
ModuleChanger.cc:42
edm::ModuleChanger::schedule_
edm::propagate_const< Schedule * > schedule_
Definition:
ModuleChanger.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::Schedule
Definition:
Schedule.h:112
edm::ModuleChanger::ModuleChanger
ModuleChanger(Schedule *, ProductRegistry const *iReg)
Definition:
ModuleChanger.cc:31
edm::ModuleChanger::registry_
ProductRegistry const * registry_
Definition:
ModuleChanger.h:56
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
Definition:
ModuleChanger.cc:63
Schedule.h
edm::ProductRegistry
Definition:
ProductRegistry.h:31
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.5