CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.connect = "frontier://(proxyurl=http://localhost:3128)(serverurl=http://frontier1.cms:8000/FrontierOnProd)(serverurl=http://frontier2.cms:8000/FrontierOnProd)(retrieve-ziplevel=0)/CMS_COND_21X_GLOBALTAG"
19 #process.GlobalTag.globaltag = 'CRZT210_V1H::All'
20 #process.prefer("GlobalTag")
21 
22 
23 
24 
25 process.load("DQM.L1TMonitor.L1TGT_unpack_cff")
26 
27 process.load("DQM.L1TMonitor.L1TGT_cfi")
28 
29 process.load("DQM.TrigXMonitor.HLTScalers_cfi")
30 
31 process.load("DQMServices.Core.DQM_cfg")
32 
33 process.load("DQMServices.Components.DQMEnvironment_cfi")
34 
35 process.load("DQM.TrigXMonitor.run58738")
36 
37 # process.source = cms.Source("PoolSource",
38 # #process.source = cms.Source("NewEventStreamFileReader",
39 # debugVerbosity = cms.untracked.uint32(1),
40 # debugVebosity = cms.untracked.bool(True),
41 # fileNames = cms.untracked.vstring(
42 # #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3.00051218.0001.DQM.storageManager.0.0000.dat'
43 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
44 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
45 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
46 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
47 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
48 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
49 # 'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
50 # 'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root'
51 # #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3MW33.00056489.0001.HLTDEBUG.storageManager.2.0000.dat'
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 # #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root'
64 # )
65 # )
66 
67 # process.maxEvents = cms.untracked.PSet(
68 # #input = cms.untracked.int32(1000)
69 # #input = cms.untracked.int32(10)
70 # input = cms.untracked.int32(-1)
71 # )
72 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
73 
74 process.MessageLogger = cms.Service("MessageLogger",
75  detailedInfo = cms.untracked.PSet(
76  threshold = cms.untracked.string('INFO')
77  ),
78  critical = cms.untracked.PSet(
79  threshold = cms.untracked.string('ERROR')
80  ),
81  debugModules = cms.untracked.vstring('*'),
82  cout = cms.untracked.PSet(
83  threshold = cms.untracked.string('WARNING'),
84  WARNING = cms.untracked.PSet(
85  limit = cms.untracked.int32(0)
86  ),
87  noLineBreaks = cms.untracked.bool(True)
88  ),
89  destinations = cms.untracked.vstring('detailedInfo',
90  'critical',
91  'cout')
92 )
93 
94 process.options = cms.untracked.PSet(
95  wantSummary = cms.untracked.bool(True)
96 )
97 process.assist = cms.Path(process.l1GtUnpack+process.l1tgt)
98 
99 process.p = cms.EndPath(process.hlts)
100 
101 process.dqmWork = cms.Path(process.dqmEnv+process.dqmSaver)
102 
103 #process.hlts.verbose = True
104 process.hlts.l1GtData = cms.InputTag("l1GtUnpack","","DQM")
105 
106 ###########################
107 ### DQM Environment ###
108 ###########################
109 
110 process.DQMStore.verbose = 0
111 process.DQM.collectorHost = 'srv-c2d05-12'
112 process.DQM.collectorPort = 9190
113 process.dqmSaver.convention = 'Online'
114 process.dqmSaver.dirName = '.'
115 process.dqmEnv.subSystemFolder = 'HLT'
116 process.dqmSaver.producer = 'DQM'
117 process.dqmSaver.saveAtJobEnd = False
118 
119