1 import FWCore.ParameterSet.Config
as cms
3 from EventFilter.EcalRawToDigi.EcalUnpackerData_cfi
import ecalEBunpacker
4 from Calibration.EcalCalibAlgos.ecalPedestalPCLworker_cfi
import ecalpedestalPCL
7 ALCARECOEcalTestPulsesRaw = copy.deepcopy(hltHighLevel)
8 ALCARECOEcalTestPulsesRaw.HLTPaths = [
'pathALCARECOEcalTestPulsesRaw']
10 ALCARECOEcalTestPulsesRaw.throw =
True 11 ALCARECOEcalTestPulsesRaw.TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"RECO")
13 ALCARECOEcalPedestalsDigis = ecalEBunpacker.clone()
14 ALCARECOEcalPedestalsDigis.InputLabel = cms.InputTag(
'hltEcalCalibrationRaw')
16 ALCARECOEcalPedestals = ecalpedestalPCL.clone()
17 ALCARECOEcalPedestals.BarrelDigis = cms.InputTag(
'ALCARECOEcalPedestalsDigis',
'ebDigis')
18 ALCARECOEcalPedestals.EndcapDigis = cms.InputTag(
'ALCARECOEcalPedestalsDigis',
'eeDigis')
19 ALCARECOEcalPedestals.tcdsRecord = cms.InputTag(
'ALCALRECOEcalTCDSDigis',
'tcdsRecord')
22 MEtoEDMConvertEcalPedestals = cms.EDProducer(
"MEtoEDMConverter",
23 Name=cms.untracked.string(
'MEtoEDMConverter'),
24 Verbosity=cms.untracked.int32(0),
28 Frequency=cms.untracked.int32(50),
29 MEPathToSave=cms.untracked.string(
'AlCaReco/EcalPedestalsPCL'),
30 deleteAfterCopy=cms.untracked.bool(
True)
33 ALCALRECOEcalTCDSDigis = cms.EDProducer(
'TcdsRawToDigi')
34 ALCALRECOEcalTCDSDigis.InputLabel = cms.InputTag(
'hltEcalCalibrationRaw')
37 seqALCARECOPromptCalibProdEcalPedestals = cms.Sequence(ALCALRECOEcalTCDSDigis *
38 ALCARECOEcalTestPulsesRaw *
39 ALCARECOEcalPedestalsDigis *
40 ALCARECOEcalPedestals *
41 MEtoEDMConvertEcalPedestals)