CMS 3D CMS Logo

List of all members | Public 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::ESRecordsToProductResolverIndices)
 
 ModuleChanger (const ModuleChanger &)=delete
 
const ModuleChangeroperator= (const ModuleChanger &)=delete
 
virtual ~ModuleChanger ()
 

Private Attributes

eventsetup::ESRecordsToProductResolverIndices 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::ESRecordsToProductResolverIndices  iIndices 
)

Definition at line 31 of file ModuleChanger.cc.

34  : schedule_(iSchedule), registry_(iRegistry), indices_(std::move(iIndices)) {}
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:52
eventsetup::ESRecordsToProductResolverIndices indices_
Definition: ModuleChanger.h:54
ProductRegistry const * registry_
Definition: ModuleChanger.h:53
def move(src, dest)
Definition: eostools.py:511

◆ ModuleChanger() [2/2]

edm::ModuleChanger::ModuleChanger ( const ModuleChanger )
delete

◆ ~ModuleChanger()

ModuleChanger::~ModuleChanger ( )
virtual

Definition at line 41 of file ModuleChanger.cc.

41 {}

Member Function Documentation

◆ changeModule()

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

Definition at line 59 of file ModuleChanger.cc.

References indices_, registry_, and schedule_.

Referenced by FWFFLooper::endOfLoop().

59  {
60  return schedule_->changeModule(iLabel, iPSet, *registry_, indices_);
61 }
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:52
eventsetup::ESRecordsToProductResolverIndices indices_
Definition: ModuleChanger.h:54
ProductRegistry const * registry_
Definition: ModuleChanger.h:53

◆ operator=()

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

Member Data Documentation

◆ indices_

eventsetup::ESRecordsToProductResolverIndices edm::ModuleChanger::indices_
private

Definition at line 54 of file ModuleChanger.h.

Referenced by changeModule().

◆ registry_

ProductRegistry const* edm::ModuleChanger::registry_
private

Definition at line 53 of file ModuleChanger.h.

Referenced by changeModule().

◆ schedule_

edm::propagate_const<Schedule*> edm::ModuleChanger::schedule_
private