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_run3_HB_cff
import run3_HB
36 _phase1_hcalOnlyOfflineSourceSequence = hcalOnlyOfflineSourceSequence.copy()
37 _phase1_hcalOnlyOfflineSourceSequence.replace(recHitPreRecoTask, recHitTask)
38 run3_HB.toReplaceWith(hcalOnlyOfflineSourceSequence, _phase1_hcalOnlyOfflineSourceSequence)
40 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
41 _phase2_hcalOfflineSourceSequence = hcalOfflineSourceSequence.copyAndExclude([tpTask,rawTask])
42 phase2_hcal.toReplaceWith(hcalOfflineSourceSequence, _phase2_hcalOfflineSourceSequence)
43 phase2_hcal.toModify(digiTask,
44 tagHBHE = cms.untracked.InputTag(
"simHcalDigis",
"HBHEQIE11DigiCollection"),
45 tagHO = cms.untracked.InputTag(
"simHcalDigis"),
46 tagHF = cms.untracked.InputTag(
"simHcalDigis",
"HFQIE10DigiCollection")
49 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
50 (premix_stage2 & phase2_hcal).toModify(digiTask,
51 tagHBHE =
"DMHcalDigis:HBHEQIE11DigiCollection",
52 tagHO =
"DMHcalDigis",
53 tagHF =
"DMHcalDigis:HFQIE10DigiCollection"