CMS 3D CMS Logo

ALCARECOPromptCalibProdEcalPedestals_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 from EventFilter.EcalRawToDigi.EcalUnpackerData_cfi import ecalEBunpacker
4 from Calibration.EcalCalibAlgos.ecalPedestalPCLworker_cfi import ecalpedestalPCL
5 
6 ALCARECOEcalPedestalsDigis = ecalEBunpacker.clone()
7 ALCARECOEcalPedestalsDigis.InputLabel = cms.InputTag('hltEcalCalibrationRaw')
8 
9 ALCARECOEcalPedestals = ecalpedestalPCL.clone()
10 ALCARECOEcalPedestals.BarrelDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'ebDigis')
11 ALCARECOEcalPedestals.EndcapDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'eeDigis')
12 
13 
14 MEtoEDMConvertEcalPedestals = cms.EDProducer("MEtoEDMConverter",
15  Name=cms.untracked.string('MEtoEDMConverter'),
16  Verbosity=cms.untracked.int32(0),
17  # 0 provides no output
18  # 1 provides basic output
19  # 2 provide more detailed output
20  Frequency=cms.untracked.int32(50),
21  MEPathToSave=cms.untracked.string('AlCaReco/EcalPedestalsPCL'),
22  deleteAfterCopy=cms.untracked.bool(True)
23  )
24 
25 # The actual sequence
26 seqALCARECOPromptCalibProdEcalPedestals = cms.Sequence(ALCARECOEcalPedestalsDigis *
27  ALCARECOEcalPedestals *
28  MEtoEDMConvertEcalPedestals)