Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("rpcDqmClient")
0004 
0005 
0006 ## InputFile = DQM root file path
0007 process.readMeFromFile = cms.EDAnalyzer("ReadMeFromFile",
0008       InputFile = cms.untracked.string('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/data/Express/121/964/DQM_V0001_R000121964__StreamExpress__BeamCommissioning09-Express-v2__DQM.root'),                                  
0009 )
0010 
0011 ####################################### DO NOT CHANGE  #############################################
0012 process.load("DQM.RPCMonitorClient.RPCDqmClient_cfi")
0013 process.rpcdqmclient.RPCDqmClientList = cms.untracked.vstring("RPCBxTest")
0014 ###################################################################################################
0015 
0016 
0017 ## RMSCut = maximum RMS allowed
0018 ## EntriesCut = minimum entries allowed
0019 ## DistanceFromZeroBx = maximum distance from BX 0 in absolute value (Rolls that will be written in file)  
0020 process.rpcdqmclient.RMSCut = cms.untracked.double(1.1)
0021 process.rpcdqmclient.EntriesCut = cms.untracked.int32(10)
0022 process.rpcdqmclient.DistanceFromZeroBx = cms.untracked.double(1.5)
0023 
0024 
0025 
0026 ####################################### DO NOT CHANGE  #############################################
0027 process.source = cms.Source("EmptySource")
0028 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1)) 
0029 
0030 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0031 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0032 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0033 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0034 
0035 
0036 process.load("DQMServices.Core.DQM_cfg")
0037 process.load("DQMServices.Components.DQMEnvironment_cfi")
0038 process.dqmEnv.subSystemFolder = 'RPC'
0039 process.dqmSaver.convention = 'Online'
0040 
0041 process.MessageLogger = cms.Service("MessageLogger",
0042     cerr = cms.untracked.PSet(
0043         enable = cms.untracked.bool(False)
0044     ),
0045     cout = cms.untracked.PSet(
0046         enable = cms.untracked.bool(True),
0047         threshold = cms.untracked.string('ERROR')
0048     ),
0049     debugModules = cms.untracked.vstring('rpcbxtest')
0050 )
0051 
0052 process.p = cms.Path(process.readMeFromFile*process.rpcdqmclient*process.dqmEnv*process.dqmSaver)
0053 ####################################################################################################
0054 
0055 
0056 
0057 
0058