CMS 3D CMS Logo

hlt_scaler_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("DQM")
4 process.load("DQMServices.Core.DQM_cfg")
5 
6 #-----------------------------
7 # DQM SOURCES
8 #-----------------------------
9 
10 process.load("CondCore.DBCommon.CondDBSetup_cfi")
11 
12 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
13 
14 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
15 
16 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
17 
18 #process.GlobalTag.globaltag = 'CRZT210_V1H::All'
19 #process.prefer("GlobalTag")
20 
21 
22 
23 
24 process.load("DQM.L1TMonitor.L1TGT_unpack_cff")
25 
26 process.load("DQM.L1TMonitor.L1TGT_cfi")
27 
28 process.load("DQM.TrigXMonitor.HLTScalers_cfi")
29 
30 process.load("DQMServices.Core.DQM_cfg")
31 
32 process.load("DQMServices.Components.DQMEnvironment_cfi")
33 
34 process.load("DQM.TrigXMonitor.run58738")
35 
36 # process.source = cms.Source("PoolSource",
37 # #process.source = cms.Source("NewEventStreamFileReader",
38 # debugVerbosity = cms.untracked.uint32(1),
39 # debugVebosity = cms.untracked.bool(True),
40 # fileNames = cms.untracked.vstring(
41 # #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3.00051218.0001.DQM.storageManager.0.0000.dat'
42 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
43 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
44 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
45 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
46 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
47 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
48 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
49 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root'
50 # #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3MW33.00056489.0001.HLTDEBUG.storageManager.2.0000.dat'
51 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
52 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
53 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
54 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
55 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
56 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
57 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
58 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
59 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
60 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
61 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
62 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root'
63 # )
64 # )
65 
66 # process.maxEvents = cms.untracked.PSet(
67 # #input = cms.untracked.int32(1000)
68 # #input = cms.untracked.int32(10)
69 # input = cms.untracked.int32(-1)
70 # )
71 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
72 
73 process.MessageLogger = cms.Service("MessageLogger",
74  detailedInfo = cms.untracked.PSet(
75  threshold = cms.untracked.string('INFO')
76  ),
77  critical = cms.untracked.PSet(
78  threshold = cms.untracked.string('ERROR')
79  ),
80  debugModules = cms.untracked.vstring('*'),
81  cout = cms.untracked.PSet(
82  threshold = cms.untracked.string('WARNING'),
83  WARNING = cms.untracked.PSet(
84  limit = cms.untracked.int32(0)
85  ),
86  noLineBreaks = cms.untracked.bool(True)
87  ),
88  destinations = cms.untracked.vstring('detailedInfo',
89  'critical',
90  'cout')
91 )
92 
93 process.options = cms.untracked.PSet(
94  wantSummary = cms.untracked.bool(True)
95 )
96 process.assist = cms.Path(process.l1GtUnpack+process.l1tgt)
97 
98 process.p = cms.EndPath(process.hlts)
99 
100 process.dqmWork = cms.Path(process.dqmEnv+process.dqmSaver)
101 
102 #process.hlts.verbose = True
103 process.hlts.l1GtData = cms.InputTag("l1GtUnpack","","DQM")
104 
105 ###########################
106 ### DQM Environment ###
107 ###########################
108 
109 process.DQMStore.verbose = 0
110 process.DQM.collectorHost = 'srv-c2d05-12'
111 process.DQM.collectorPort = 9190
112 process.dqmSaver.convention = 'Online'
113 process.dqmSaver.dirName = '.'
114 process.dqmEnv.subSystemFolder = 'HLT'
115 process.dqmSaver.producer = 'DQM'
116 process.dqmSaver.saveAtJobEnd = False
117 
118