src
FWCore
Framework
interface
ModuleChanger.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ModuleChanger_h
2
#define FWCore_Framework_ModuleChanger_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : ModuleChanger
7
//
17
//
18
// Original Author: Chris Jones
19
// Created: Thu Jul 15 15:05:17 EDT 2010
20
//
21
22
// system include files
23
#include <string>
24
25
// user include files
26
#include "
FWCore/Utilities/interface/propagate_const.h
"
27
#include "
FWCore/Framework/interface/ESRecordsToProductResolverIndices.h
"
28
29
// forward declarations
30
31
namespace
edm
{
32
class
ParameterSet
;
33
class
Schedule;
34
class
ProductRegistry;
35
36
class
ModuleChanger
{
37
public
:
38
ModuleChanger
(
Schedule
*,
ProductRegistry
const
* iReg,
eventsetup::ESRecordsToProductResolverIndices
);
39
ModuleChanger
(
const
ModuleChanger
&) =
delete
;
// stop default
40
const
ModuleChanger
&
operator=
(
const
ModuleChanger
&) =
delete
;
// stop default
41
virtual
~ModuleChanger
();
42
43
// ---------- const member functions ---------------------
44
45
// ---------- static member functions --------------------
46
47
// ---------- member functions ---------------------------
48
bool
changeModule
(
const
std::string
& iLabel,
const
ParameterSet
& iPSet);
49
50
private
:
51
// ---------- member data --------------------------------
52
edm::propagate_const<Schedule*>
schedule_
;
53
ProductRegistry
const
*
registry_
;
54
eventsetup::ESRecordsToProductResolverIndices
indices_
;
55
};
56
}
// namespace edm
57
#endif
edm::propagate_const
Definition:
propagate_const.h:32
ESRecordsToProductResolverIndices.h
ParameterSet
Definition:
Functions.h:16
edm::ModuleChanger::~ModuleChanger
virtual ~ModuleChanger()
Definition:
ModuleChanger.cc:41
edm::ModuleChanger::operator=
const ModuleChanger & operator=(const ModuleChanger &)=delete
edm::ModuleChanger::ModuleChanger
ModuleChanger(Schedule *, ProductRegistry const *iReg, eventsetup::ESRecordsToProductResolverIndices)
Definition:
ModuleChanger.cc:31
edm::ModuleChanger::schedule_
edm::propagate_const< Schedule * > schedule_
Definition:
ModuleChanger.h:52
edm::ModuleChanger::indices_
eventsetup::ESRecordsToProductResolverIndices indices_
Definition:
ModuleChanger.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ModuleChanger
Definition:
ModuleChanger.h:36
edm::Schedule
Definition:
Schedule.h:123
edm::ModuleChanger::registry_
ProductRegistry const * registry_
Definition:
ModuleChanger.h:53
edm::eventsetup::ESRecordsToProductResolverIndices
Definition:
ESRecordsToProductResolverIndices.h:35
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
Definition:
ModuleChanger.cc:59
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ProductRegistry
Definition:
ProductRegistry.h:36
edm::ParameterSet
Definition:
ParameterSet.h:48
propagate_const.h
Generated for CMSSW Reference Manual by
1.8.14