1 import FWCore.ParameterSet.Config
as cms
3 from EventFilter.EcalRawToDigi.EcalUnpackerData_cfi
import ecalEBunpacker
4 from Calibration.EcalCalibAlgos.ecalPedestalPCLworker_cfi
import ecalpedestalPCL
6 ALCARECOEcalPedestalsDigis = ecalEBunpacker.clone()
7 ALCARECOEcalPedestalsDigis.InputLabel = cms.InputTag(
'hltEcalCalibrationRaw')
9 ALCARECOEcalPedestals = ecalpedestalPCL.clone()
10 ALCARECOEcalPedestals.BarrelDigis = cms.InputTag(
'ALCARECOEcalPedestalsDigis',
'ebDigis')
11 ALCARECOEcalPedestals.EndcapDigis = cms.InputTag(
'ALCARECOEcalPedestalsDigis',
'eeDigis')
14 MEtoEDMConvertEcalPedestals = cms.EDProducer(
"MEtoEDMConverter",
15 Name=cms.untracked.string(
'MEtoEDMConverter'),
16 Verbosity=cms.untracked.int32(0),
20 Frequency=cms.untracked.int32(50),
21 MEPathToSave=cms.untracked.string(
'AlCaReco/EcalPedestalsPCL'),
22 deleteAfterCopy=cms.untracked.bool(
True)
26 seqALCARECOPromptCalibProdEcalPedestals = cms.Sequence(ALCARECOEcalPedestalsDigis *
27 ALCARECOEcalPedestals *
28 MEtoEDMConvertEcalPedestals)