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
13 from DQM.HcalTasks.hcalGPUComparisonTask_cfi
import hcalGPUComparisonTask
20 recHitPreRecoTask.ptype = 1
21 hcalGPUComparisonTask.ptype = 1
24 tpTask.tagEmul =
"valHcalTriggerPrimitiveDigis"
26 hcalOfflineSourceSequence = cms.Sequence(
32 hcalOnlyOfflineSourceSequence = cms.Sequence(
37 hcalOnlyOfflineSourceSequenceGPU = cms.Sequence(
45 gpuValidationHcal.toReplaceWith(hcalOnlyOfflineSourceSequence, hcalOnlyOfflineSourceSequenceGPU)
48 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
49 _phase1_hcalOnlyOfflineSourceSequence = hcalOnlyOfflineSourceSequence.copy()
50 _phase1_hcalOnlyOfflineSourceSequence.replace(recHitPreRecoTask, recHitTask)
51 run3_HB.toReplaceWith(hcalOnlyOfflineSourceSequence, _phase1_hcalOnlyOfflineSourceSequence)
53 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
54 _phase2_hcalOfflineSourceSequence = hcalOfflineSourceSequence.copyAndExclude([tpTask,rawTask])
55 phase2_hcal.toReplaceWith(hcalOfflineSourceSequence, _phase2_hcalOfflineSourceSequence)
56 phase2_hcal.toModify(digiTask,
57 tagHBHE =
"simHcalDigis:HBHEQIE11DigiCollection",
58 tagHO =
"simHcalDigis",
59 tagHF =
"simHcalDigis:HFQIE10DigiCollection"
62 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
63 (premix_stage2 & phase2_hcal).toModify(digiTask,
64 tagHBHE =
"DMHcalDigis:HBHEQIE11DigiCollection",
65 tagHO =
"DMHcalDigis",
66 tagHF =
"DMHcalDigis:HFQIE10DigiCollection"