CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OfflineSourceSequence_hi.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 Heavy Ions
5 # To be used for Offline DQM importing
6 #-----------------
7 
8 # import the tasks
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
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 = 4
22 tpTask.runkeyVal = 4
23 recHitTask.runkeyVal = 4
24 rawTask.runkeyVal = 4
25 
26 digiTask.runkeyName = "hi_run"
27 tpTask.runkeyName = "hi_run"
28 recHitTask.runkeyName = "hi_run"
29 rawTask.runkeyName = "hi_run"
30 
31 # Set the Emulator label for TP Task
32 tpTask.tagEmul = "valHcalTriggerPrimitiveDigis"
33 
34 hcalOfflineSourceSequence = cms.Sequence(
35  digiTask
36  +tpTask
37  +recHitTask
38  +rawTask)
39 
40 
41