Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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:46
EcalRegionCablingESProducer::produce
ReturnType produce(const EcalRegionCablingRecord &)
Definition:
EcalRegionCablingESProducer.cc:13
edm::ESHandle< EcalElectronicsMapping >
EcalRegionCablingRecord
Definition:
EcalRegionCablingRecord.h:9
EcalRegionCablingESProducer::ReturnType
boost::shared_ptr< EcalRegionCabling > ReturnType
Definition:
EcalRegionCablingESProducer.h:38
EcalRegionCablingESProducer.h
EcalRegionCabling
Definition:
EcalRegionCabling.h:15
edm::ParameterSet
Definition:
ParameterSet.h:35
EcalRegionCablingESProducer::~EcalRegionCablingESProducer
~EcalRegionCablingESProducer()
Definition:
EcalRegionCablingESProducer.cc:10
EcalRegionCablingESProducer::conf_
edm::ParameterSet conf_
Definition:
EcalRegionCablingESProducer.h:42
Generated for CMSSW Reference Manual by
1.8.5