Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
EcalRawToDigi
plugins
EcalUnpackerWorkerESProducer.cc
Go to the documentation of this file.
1
#include "
EventFilter/EcalRawToDigi/plugins/EcalUnpackerWorkerESProducer.h
"
2
3
EcalUnpackerWorkerESProducer::EcalUnpackerWorkerESProducer
(
const
edm::ParameterSet
& iConfig)
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
13
EcalUnpackerWorkerESProducer::~EcalUnpackerWorkerESProducer
(){}
14
15
16
EcalUnpackerWorkerESProducer::ReturnType
17
EcalUnpackerWorkerESProducer::produce
(
const
EcalUnpackerWorkerRecord
& iRecord)
18
{
19
using namespace
edm::es;
20
21
EcalUnpackerWorkerESProducer::ReturnType
euw(
new
EcalUnpackerWorker
(
conf_
));
22
23
//set eshandles
24
euw->setHandles(iRecord);
25
26
return
euw;
27
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ParameterSet::exists
bool exists(std::string const ¶meterName) const
checks if a parameter exists
Definition:
ParameterSet.cc:759
EcalUnpackerWorkerESProducer::conf_
edm::ParameterSet conf_
Definition:
EcalUnpackerWorkerESProducer.h:50
EcalUnpackerWorkerESProducer::~EcalUnpackerWorkerESProducer
~EcalUnpackerWorkerESProducer()
Definition:
EcalUnpackerWorkerESProducer.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
EcalUnpackerWorkerRecord
Definition:
EcalUnpackerWorkerRecord.h:20
EcalUnpackerWorker
Definition:
EcalUnpackerWorker.h:29
EcalUnpackerWorkerESProducer::EcalUnpackerWorkerESProducer
EcalUnpackerWorkerESProducer(const edm::ParameterSet &)
Definition:
EcalUnpackerWorkerESProducer.cc:3
EcalUnpackerWorkerESProducer.h
edm::ParameterSet
Definition:
ParameterSet.h:35
EcalUnpackerWorkerESProducer::produce
ReturnType produce(const EcalUnpackerWorkerRecord &)
Definition:
EcalUnpackerWorkerESProducer.cc:17
EcalUnpackerWorkerESProducer::ReturnType
boost::shared_ptr< EcalUnpackerWorkerBase > ReturnType
Definition:
EcalUnpackerWorkerESProducer.h:46
Generated for CMSSW Reference Manual by
1.8.5