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