Main Page
Namespaces
Classes
Package Documentation
EventFilter
EcalRawToDigi
plugins
EcalRegionCablingESProducer.cc
Go to the documentation of this file.
1
#include "
EventFilter/EcalRawToDigi/plugins/EcalRegionCablingESProducer.h
"
2
3
EcalRegionCablingESProducer::EcalRegionCablingESProducer
(
const
edm::ParameterSet
& iConfig)
4
{
5
conf_
=iConfig;
6
setWhatProduced
(
this
);
7
}
8
9
10
EcalRegionCablingESProducer::~EcalRegionCablingESProducer
(){}
11
12
EcalRegionCablingESProducer::ReturnType
13
EcalRegionCablingESProducer::produce
(
const
EcalRegionCablingRecord
& iRecord)
14
{
15
using namespace
edm::es
;
16
edm::ESHandle<EcalElectronicsMapping>
mapping
;
17
iRecord.
getRecord
<
EcalMappingRcd
>().
get
(mapping);
18
19
ReturnType
erc(
new
EcalRegionCabling
(
conf_
,
20
mapping.
product
()));
21
22
return
erc;
23
}
EcalRegionCablingESProducer::EcalRegionCablingESProducer
EcalRegionCablingESProducer(const edm::ParameterSet &)
Definition:
EcalRegionCablingESProducer.cc:3
EcalMappingRcd
Definition:
EcalMappingRcd.h:17
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
edm::eventsetup::DependentRecordImplementation::getRecord
const DepRecordT & getRecord() const
Definition:
DependentRecordImplementation.h:48
edm::es
Definition:
es_Label.h:33
EcalRegionCablingESProducer::produce
ReturnType produce(const EcalRegionCablingRecord &)
Definition:
EcalRegionCablingESProducer.cc:13
EcalRegionCablingESProducer::ReturnType
std::shared_ptr< EcalRegionCabling > ReturnType
Definition:
EcalRegionCablingESProducer.h:37
edm::ESHandle< EcalElectronicsMapping >
EcalRegionCablingRecord
Definition:
EcalRegionCablingRecord.h:9
EcalRegionCablingESProducer.h
EcalRegionCabling
Definition:
EcalRegionCabling.h:13
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalRegionCablingESProducer::~EcalRegionCablingESProducer
~EcalRegionCablingESProducer()
Definition:
EcalRegionCablingESProducer.cc:10
edm::ESHandle::product
T const * product() const
Definition:
ESHandle.h:86
EcalRegionCablingESProducer::conf_
edm::ParameterSet conf_
Definition:
EcalRegionCablingESProducer.h:41
HPSPFTaus_cff.mapping
mapping
Definition:
HPSPFTaus_cff.py:305
Generated for CMSSW Reference Manual by
1.8.11