1 import FWCore.ParameterSet.Config
as cms
4 hcalRawDataVME = cms.EDProducer(
"HcalDigiToRaw",
5 HBHE = cms.untracked.InputTag(
"simHcalDigis"),
6 HF = cms.untracked.InputTag(
"simHcalDigis"),
7 HO = cms.untracked.InputTag(
"simHcalDigis"),
8 ZDC = cms.untracked.InputTag(
"simHcalUnsuppressedDigis"),
9 TRIG = cms.untracked.InputTag(
"simHcalTriggerPrimitiveDigis")
12 hcalRawDataTask = cms.Task(hcalRawDataVME)
13 hcalRawData = cms.Sequence(hcalRawDataTask)
15 from EventFilter.HcalRawToDigi.hcalDigiToRawuHTR_cfi
import hcalDigiToRawuHTR
as hcalRawDatauHTR
17 _phase1_hcalRawDataTask = hcalRawDataTask.copy()
18 _phase1_hcalRawDataTask.add(hcalRawDatauHTR)
20 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
21 run2_HCAL_2017.toModify( hcalRawDataVME,
22 HBHE = cms.untracked.InputTag(
""),
23 HF = cms.untracked.InputTag(
""),
24 TRIG = cms.untracked.InputTag(
"")
26 run2_HCAL_2017.toReplaceWith(hcalRawDataTask,_phase1_hcalRawDataTask)