1 import FWCore.ParameterSet.Config
as cms
9 from DQM.HcalTasks.DigiTask
import digiTask
10 from DQM.HcalTasks.RawTask
import rawTask
11 from DQM.HcalTasks.TPTask
import tpTask
12 from DQM.HcalTasks.RecHitTask
import recHitTask, recHitPreRecoTask
15 digiTask.ptype = cms.untracked.int32(1)
16 tpTask.ptype = cms.untracked.int32(1)
17 recHitTask.ptype = cms.untracked.int32(1)
18 rawTask.ptype = cms.untracked.int32(1)
19 recHitPreRecoTask.ptype = cms.untracked.int32(1)
22 tpTask.tagEmul = cms.untracked.InputTag(
"valHcalTriggerPrimitiveDigis")
24 hcalOfflineSourceSequence = cms.Sequence(
30 hcalOnlyOfflineSourceSequence = cms.Sequence(
35 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
36 _phase2_hcalOfflineSourceSequence = hcalOfflineSourceSequence.copyAndExclude([tpTask,rawTask])
37 phase2_hcal.toReplaceWith(hcalOfflineSourceSequence, _phase2_hcalOfflineSourceSequence)
38 phase2_hcal.toModify(digiTask,
39 tagHBHE = cms.untracked.InputTag(
"simHcalDigis",
"HBHEQIE11DigiCollection"),
40 tagHO = cms.untracked.InputTag(
"simHcalDigis"),
41 tagHF = cms.untracked.InputTag(
"simHcalDigis",
"HFQIE10DigiCollection")
44 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
45 (premix_stage2 & phase2_hcal).toModify(digiTask,
46 tagHBHE =
"DMHcalDigis:HBHEQIE11DigiCollection",
47 tagHO =
"DMHcalDigis",
48 tagHF =
"DMHcalDigis:HFQIE10DigiCollection"