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
6 
7 ALCARECOEcalTestPulsesRaw = copy.deepcopy(hltHighLevel)
8 ALCARECOEcalTestPulsesRaw.HLTPaths = ['pathALCARECOEcalTestPulsesRaw']
9 # dont throw on unknown path names
10 ALCARECOEcalTestPulsesRaw.throw = True
11 ALCARECOEcalTestPulsesRaw.TriggerResultsTag = cms.InputTag("TriggerResults", "", "RECO")
12 
13 ALCARECOEcalPedestalsDigis = ecalEBunpacker.clone()
14 ALCARECOEcalPedestalsDigis.InputLabel = cms.InputTag('hltEcalCalibrationRaw')
15 
16 ALCARECOEcalPedestals = ecalpedestalPCL.clone()
17 ALCARECOEcalPedestals.BarrelDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'ebDigis')
18 ALCARECOEcalPedestals.EndcapDigis = cms.InputTag('ALCARECOEcalPedestalsDigis', 'eeDigis')
19 
20 
21 MEtoEDMConvertEcalPedestals = cms.EDProducer("MEtoEDMConverter",
22  Name=cms.untracked.string('MEtoEDMConverter'),
23  Verbosity=cms.untracked.int32(0),
24  # 0 provides no output
25  # 1 provides basic output
26  # 2 provide more detailed output
27  Frequency=cms.untracked.int32(50),
28  MEPathToSave=cms.untracked.string('AlCaReco/EcalPedestalsPCL'),
29  deleteAfterCopy=cms.untracked.bool(True)
30  )
31 
32 # The actual sequence
33 seqALCARECOPromptCalibProdEcalPedestals = cms.Sequence(ALCARECOEcalTestPulsesRaw *
34  ALCARECOEcalPedestalsDigis *
35  ALCARECOEcalPedestals *
36  MEtoEDMConvertEcalPedestals)