CMS 3D CMS Logo

OfflineSourceSequence_cosmic.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #-----------------
4 # HCAL DQM Offline Source Sequence Definition for Cosmics
5 # To be used for Offline DQM importing
6 #-----------------
7 
8 # import the tasks
9 from DQM.HcalTasks.DigiTask_cfi import digiTask
10 from DQM.HcalTasks.RawTask_cfi import rawTask
11 from DQM.HcalTasks.TPTask_cfi import tpTask
12 from DQM.HcalTasks.RecHitTask_cfi import recHitTask
13 
14 # set processing type to Offine
15 digiTask.ptype = 1
16 tpTask.ptype = 1
17 recHitTask.ptype = 1
18 rawTask.ptype = 1
19 
20 # set the run key(value and name)
21 digiTask.runkeyVal = 2
22 tpTask.runkeyVal = 2
23 recHitTask.runkeyVal = 2
24 rawTask.runkeyVal = 2
25 
26 digiTask.runkeyName = "cosmic_run"
27 tpTask.runkeyName = "cosmic_run"
28 recHitTask.runkeyName = "cosmic_run"
29 rawTask.runkeyName = "cosmic_run"
30 
31 # set the Emulator label for TP Task
32 tpTask.tagEmul = "valHcalTriggerPrimitiveDigis"
33 
34 hcalOfflineSourceSequence = cms.Sequence(
35  digiTask
36  +recHitTask
37  +rawTask)
38 
39 
40