CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::ModuleChanger Class Reference

#include <ModuleChanger.h>

Public Member Functions

bool changeModule (const std::string &iLabel, const ParameterSet &iPSet)
 
 ModuleChanger (Schedule *, ProductRegistry const *iReg, eventsetup::ESRecordsToProxyIndices)
 
virtual ~ModuleChanger ()
 

Private Member Functions

 ModuleChanger (const ModuleChanger &)=delete
 
const ModuleChangeroperator= (const ModuleChanger &)=delete
 

Private Attributes

eventsetup::ESRecordsToProxyIndices indices_
 
ProductRegistry const * registry_
 
edm::propagate_const< Schedule * > schedule_
 

Detailed Description

Definition at line 36 of file ModuleChanger.h.

Constructor & Destructor Documentation

◆ ModuleChanger() [1/2]

ModuleChanger::ModuleChanger ( Schedule iSchedule,
ProductRegistry const *  iReg,
eventsetup::ESRecordsToProxyIndices  iIndices 
)

Definition at line 31 of file ModuleChanger.cc.

34  : schedule_(iSchedule), registry_(iRegistry), indices_(std::move(iIndices)) {}

◆ ~ModuleChanger()

ModuleChanger::~ModuleChanger ( )
virtual

Definition at line 41 of file ModuleChanger.cc.

41 {}

◆ ModuleChanger() [2/2]

edm::ModuleChanger::ModuleChanger ( const ModuleChanger )
privatedelete

Member Function Documentation

◆ changeModule()

bool ModuleChanger::changeModule ( const std::string &  iLabel,
const ParameterSet iPSet 
)

Definition at line 59 of file ModuleChanger.cc.

59  {
60  return schedule_->changeModule(iLabel, iPSet, *registry_, indices_);
61 }

References indices_, registry_, and schedule_.

Referenced by FWFFLooper::endOfLoop().

◆ operator=()

const ModuleChanger& edm::ModuleChanger::operator= ( const ModuleChanger )
privatedelete

Member Data Documentation

◆ indices_

eventsetup::ESRecordsToProxyIndices edm::ModuleChanger::indices_
private

Definition at line 56 of file ModuleChanger.h.

Referenced by changeModule().

◆ registry_

ProductRegistry const* edm::ModuleChanger::registry_
private

Definition at line 55 of file ModuleChanger.h.

Referenced by changeModule().

◆ schedule_

edm::propagate_const<Schedule*> edm::ModuleChanger::schedule_
private
edm::ModuleChanger::indices_
eventsetup::ESRecordsToProxyIndices indices_
Definition: ModuleChanger.h:56
edm::ModuleChanger::schedule_
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:54
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::ModuleChanger::registry_
ProductRegistry const * registry_
Definition: ModuleChanger.h:55