1 import FWCore.ParameterSet.Config
as cms
9 from DQM.HcalTasks.DigiTask
import digiTask
10 from DQM.HcalTasks.DigiPhase1Task
import digiPhase1Task
11 from DQM.HcalTasks.RawTask
import rawTask
12 from DQM.HcalTasks.TPTask
import tpTask
13 from DQM.HcalTasks.RecHitTask
import recHitTask
16 digiTask.ptype = cms.untracked.int32(1)
17 digiPhase1Task.ptype = cms.untracked.int32(1)
18 tpTask.ptype = cms.untracked.int32(1)
19 recHitTask.ptype = cms.untracked.int32(1)
20 rawTask.ptype = cms.untracked.int32(1)
23 digiTask.runkeyVal = cms.untracked.int32(2)
24 tpTask.runkeyVal = cms.untracked.int32(2)
25 recHitTask.runkeyVal = cms.untracked.int32(2)
26 rawTask.runkeyVal = cms.untracked.int32(2)
28 digiTask.runkeyName = cms.untracked.string(
"cosmic_run")
29 tpTask.runkeyName = cms.untracked.string(
"cosmic_run")
30 recHitTask.runkeyName = cms.untracked.string(
"cosmic_run")
31 rawTask.runkeyName = cms.untracked.string(
"cosmic_run")
34 tpTask.tagEmul = cms.untracked.InputTag(
"valHcalTriggerPrimitiveDigis")
36 hcalOfflineSourceSequence = cms.Sequence(
41 _phase1_hcalOfflineSourceSequence = hcalOfflineSourceSequence.copy()
42 _phase1_hcalOfflineSourceSequence.insert(0,digiPhase1Task)
44 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
45 run2_HCAL_2017.toReplaceWith( hcalOfflineSourceSequence, _phase1_hcalOfflineSourceSequence )