CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OfflineSourceSequence_pp.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 pp
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 = cms.untracked.int32(1)
16 tpTask.ptype = cms.untracked.int32(1)
17 recHitTask.ptype = cms.untracked.int32(1)
18 rawTask.ptype = cms.untracked.int32(1)
19 
20 # set the label for Emulator TP Task
21 tpTask.tagEmul = cms.untracked.InputTag("valHcalTriggerPrimitiveDigis")
22 
23 hcalOfflineSourceSequence = cms.Sequence(
24  digiTask
25  +tpTask
26  +recHitTask
27  +rawTask)
28