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
19 recHitPreRecoTask.ptype = 1
22 tpTask.tagEmul =
"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 =
"simHcalDigis:HBHEQIE11DigiCollection",
45 tagHO =
"simHcalDigis",
46 tagHF =
"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"