#include <EventFilter/EcalUnpackerWorkerESProducer/src/EcalUnpackerWorkerESProducer.cc>
Public Types | |
typedef boost::shared_ptr < EcalUnpackerWorkerBase > | ReturnType |
Public Member Functions | |
EcalUnpackerWorkerESProducer (const edm::ParameterSet &) | |
ReturnType | produce (const EcalUnpackerWorkerRecord &) |
~EcalUnpackerWorkerESProducer () | |
Private Attributes | |
edm::ParameterSet | conf_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 42 of file EcalUnpackerWorkerESProducer.h.
typedef boost::shared_ptr<EcalUnpackerWorkerBase> EcalUnpackerWorkerESProducer::ReturnType |
Definition at line 47 of file EcalUnpackerWorkerESProducer.h.
EcalUnpackerWorkerESProducer::EcalUnpackerWorkerESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 3 of file EcalUnpackerWorkerESProducer.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,""); }
EcalUnpackerWorkerESProducer::~EcalUnpackerWorkerESProducer | ( | ) |
Definition at line 13 of file EcalUnpackerWorkerESProducer.cc.
{}
EcalUnpackerWorkerESProducer::ReturnType EcalUnpackerWorkerESProducer::produce | ( | const EcalUnpackerWorkerRecord & | iRecord | ) |
Definition at line 17 of file EcalUnpackerWorkerESProducer.cc.
References conf_.
{ using namespace edm::es; EcalUnpackerWorkerESProducer::ReturnType euw(new EcalUnpackerWorker(conf_)); //set eshandles euw->setHandles(iRecord); return euw; }
Definition at line 51 of file EcalUnpackerWorkerESProducer.h.
Referenced by EcalUnpackerWorkerESProducer(), and produce().