CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

EcalUnpackerWorkerESProducer Class Reference

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

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

List of all members.

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_

Detailed Description

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

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

Definition at line 42 of file EcalUnpackerWorkerESProducer.h.


Member Typedef Documentation

Definition at line 47 of file EcalUnpackerWorkerESProducer.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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

Member Data Documentation

Definition at line 51 of file EcalUnpackerWorkerESProducer.h.

Referenced by EcalUnpackerWorkerESProducer(), and produce().