CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESUnpackerWorkerESProducer.cc
Go to the documentation of this file.
4 
6 {
7  conf_ = iConfig;
8  if (conf_.exists("ComponentName"))
9  setWhatProduced(this,conf_.getParameter<std::string>("ComponentName"));
10  else
11  setWhatProduced(this);
12 }
13 
14 
16 
17 
20 {
21  using namespace edm::es;
22 
24 
25  //set eshandles
26  euw->setHandles(iRecord);
27 
28  return euw;
29 }
T getParameter(std::string const &) const
bool exists(std::string const &parameterName) const
checks if a parameter exists
ReturnType produce(const EcalUnpackerWorkerRecord &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
ESUnpackerWorkerESProducer(const edm::ParameterSet &)
boost::shared_ptr< EcalUnpackerWorkerBase > ReturnType