CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/TrigXMonitor/python/hlt_scaler_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("DQM")
00004 process.load("DQMServices.Core.DQM_cfg")
00005 
00006 #-----------------------------
00007 #  DQM SOURCES
00008 #-----------------------------
00009 
00010 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00011 
00012 process.load("Configuration.StandardSequences.Geometry_cff")
00013 
00014 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
00015 
00016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00017 
00018 #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"
00019 #process.GlobalTag.GlobalTag = 'CRZT210_V1H::All'
00020 #process.prefer("GlobalTag")
00021 
00022 
00023 
00024 
00025 process.load("DQM.L1TMonitor.L1TGT_unpack_cff")
00026 
00027 process.load("DQM.L1TMonitor.L1TGT_cfi")
00028 
00029 process.load("DQM.TrigXMonitor.HLTScalers_cfi")
00030 
00031 process.load("DQMServices.Core.DQM_cfg")
00032 
00033 process.load("DQMServices.Components.DQMEnvironment_cfi")
00034 
00035 process.load("DQM.TrigXMonitor.run58738")
00036 
00037 # process.source = cms.source("PoolSource",
00038 # #process.source = cms.source("NewEventStreamFileReader",
00039 #     debugVerbosity = cms.untracked.uint32(1),
00040 #     debugVebosity = cms.untracked.bool(True),
00041 #     fileNames = cms.untracked.vstring(
00042 #       #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3.00051218.0001.DQM.storageManager.0.0000.dat'
00043 #       'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
00044 #         'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
00045 #         'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
00046 #         'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
00047 #         'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
00048 #         'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root',
00049 #         'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root',
00050 #         'file:/tmp/wteo/AC5529A1-D754-DD11-9362-000423D9863C.root'
00051 #         #'file:/cms/mon/data/lookarea_SM/GlobalCruzet3MW33.00056489.0001.HLTDEBUG.storageManager.2.0000.dat'
00052 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00053 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00054 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00055 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00056 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00057 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00058 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00059 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00060 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00061 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00062 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root', 
00063 #         #'file:/tmp/wteo/28E1D7F9-214C-DD11-B42C-000423D9880C.root'
00064 #         )
00065 # )
00066 
00067 # process.maxEvents = cms.untracked.PSet(
00068 #     #input = cms.untracked.int32(1000)
00069 #     #input = cms.untracked.int32(10)
00070 #     input = cms.untracked.int32(-1)
00071 # )
00072 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
00073 
00074 process.LockService = cms.Service("LockService",
00075     labels = cms.untracked.vstring('source')
00076 )
00077 
00078 process.MessageLogger = cms.Service("MessageLogger",
00079     detailedInfo = cms.untracked.PSet(
00080         threshold = cms.untracked.string('INFO')
00081     ),
00082     critical = cms.untracked.PSet(
00083         threshold = cms.untracked.string('ERROR')
00084     ),
00085     debugModules = cms.untracked.vstring('*'),
00086     cout = cms.untracked.PSet(
00087         threshold = cms.untracked.string('WARNING'),
00088         WARNING = cms.untracked.PSet(
00089             limit = cms.untracked.int32(0)
00090         ),
00091         noLineBreaks = cms.untracked.bool(True)
00092     ),
00093     destinations = cms.untracked.vstring('detailedInfo', 
00094         'critical', 
00095         'cout')
00096 )
00097 
00098 process.options = cms.untracked.PSet(
00099     wantSummary = cms.untracked.bool(True)
00100 )
00101 process.assist = cms.Path(process.l1GtUnpack+process.l1tgt)
00102 
00103 process.p = cms.EndPath(process.hlts)
00104 
00105 process.dqmWork = cms.Path(process.dqmEnv+process.dqmSaver)
00106 
00107 #process.hlts.verbose = True
00108 process.hlts.l1GtData = cms.InputTag("l1GtUnpack","","DQM")
00109 
00110 ###########################
00111 ###   DQM Environment   ###
00112 ###########################
00113 
00114 process.DQMStore.verbose = 0
00115 process.DQM.collectorHost = 'srv-c2d05-12'
00116 process.DQM.collectorPort = 9190
00117 process.dqmSaver.convention = 'Online'
00118 process.dqmSaver.dirName = '.'
00119 process.dqmEnv.subSystemFolder = 'HLT'
00120 process.dqmSaver.producer = 'DQM'
00121 process.dqmSaver.saveAtJobEnd = False
00122 
00123