CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

ESUnpackerWorkerESProducer Class Reference

#include <EventFilter/ESUnpackerWorkerESProducer/src/ESUnpackerWorkerESProducer.cc>

Inheritance diagram for ESUnpackerWorkerESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

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_

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 37 of file ESUnpackerWorkerESProducer.h.


Member Typedef Documentation

Definition at line 42 of file ESUnpackerWorkerESProducer.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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;
}

Member Data Documentation

Definition at line 46 of file ESUnpackerWorkerESProducer.h.

Referenced by ESUnpackerWorkerESProducer(), and produce().