CMS 3D CMS Logo

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