CMS 3D CMS Logo

EcalRegionCablingESProducer.cc

Go to the documentation of this file.
00001 #include "EventFilter/EcalRawToDigi/plugins/EcalRegionCablingESProducer.h"
00002 
00003 EcalRegionCablingESProducer::EcalRegionCablingESProducer(const edm::ParameterSet& iConfig)
00004 {
00005   conf_=iConfig;
00006   setWhatProduced(this);
00007 }
00008 
00009 
00010 EcalRegionCablingESProducer::~EcalRegionCablingESProducer(){}
00011 
00012 EcalRegionCablingESProducer::ReturnType
00013 EcalRegionCablingESProducer::produce(const EcalRegionCablingRecord & iRecord)
00014 {
00015    using namespace edm::es;
00016    edm::ESHandle<EcalElectronicsMapping> mapping;
00017    iRecord.getRecord<EcalMappingRcd>().get(mapping);
00018 
00019    ReturnType erc( new EcalRegionCabling(conf_,
00020                                          mapping.product()));
00021 
00022    return erc;
00023 }

Generated on Tue Jun 9 17:34:32 2009 for CMSSW by  doxygen 1.5.4