#include <EventFilter/ESUnpackerWorkerESProducer/src/ESUnpackerWorkerESProducer.cc>
Public Types | |
typedef boost::shared_ptr < EcalUnpackerWorkerBase > | ReturnType |
Public Member Functions | |
ESUnpackerWorkerESProducer (const edm::ParameterSet &) | |
ReturnType | produce (const EcalUnpackerWorkerRecord &) |
~ESUnpackerWorkerESProducer () | |
Private Attributes | |
edm::ParameterSet | conf_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 37 of file ESUnpackerWorkerESProducer.h.
typedef boost::shared_ptr<EcalUnpackerWorkerBase> ESUnpackerWorkerESProducer::ReturnType |
Definition at line 42 of file ESUnpackerWorkerESProducer.h.
ESUnpackerWorkerESProducer::ESUnpackerWorkerESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 5 of file ESUnpackerWorkerESProducer.cc.
References conf_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and edm::ESProducer::setWhatProduced().
{ conf_ = iConfig; if (conf_.exists("ComponentName")) setWhatProduced(this,conf_.getParameter<std::string>("ComponentName")); else setWhatProduced(this); }
ESUnpackerWorkerESProducer::~ESUnpackerWorkerESProducer | ( | ) |
Definition at line 15 of file ESUnpackerWorkerESProducer.cc.
{}
ESUnpackerWorkerESProducer::ReturnType ESUnpackerWorkerESProducer::produce | ( | const EcalUnpackerWorkerRecord & | iRecord | ) |
Definition at line 19 of file ESUnpackerWorkerESProducer.cc.
References conf_.
{ using namespace edm::es; ESUnpackerWorkerESProducer::ReturnType euw(new ESUnpackerWorker(conf_)); //set eshandles euw->setHandles(iRecord); return euw; }
Definition at line 46 of file ESUnpackerWorkerESProducer.h.
Referenced by ESUnpackerWorkerESProducer(), and produce().