Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:13

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("rpcDqmClient")
0005 
0006 ################# Input ########################
0007 process.source = cms.Source("EmptySource")
0008 
0009 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2))
0010 
0011 ################# Geometry  ######################
0012 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0013 
0014 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0015 
0016 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0017 
0018 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0019 
0020 ################# DQM Cetral Modules ###################
0021 process.load("DQMServices.Core.DQM_cfg")
0022 
0023 process.load("DQMServices.Components.DQMEnvironment_cfi")
0024 process.dqmEnv.subSystemFolder = 'RPC'
0025 process.dqmSaver.convention = 'Online'
0026 
0027 
0028 ################# DQM Read ME ROOT File ####################
0029 process.readMeFromFile = cms.EDAnalyzer("ReadMeFromFile",
0030       InputFile = cms.untracked.string('DQM_3.root')
0031 )
0032 
0033 ################# DQM Event Summary ####################
0034 process.load("DQM.RPCMonitorClient.RPCEventSummary_cfi")
0035 process.rpcEventSummary.EventInfoPath = 'RPC/EventInfo'
0036 process.rpcEventSummary.PrescaleFactor = 1
0037 
0038 #process.rpcOccupancyTest = cms.EDAnalyzer("RPCOccupancyTest")
0039 
0040 process.load("DQM.RPCMonitorClient.RPCDCSSummary_cfi")
0041 process.load("DQM.RPCMonitorClient.RPCDaqInfo_cfi")
0042 process.load("DQM.RPCMonitorClient.RPCDataCertification_cfi")
0043 
0044 ################# DQM Client Modules ####################
0045 process.load("DQM.RPCMonitorClient.RPCDqmClient_cfi")
0046 process.rpcdqmclient.RPCDqmClientList = cms.untracked.vstring("RPCNoisyStripTest","RPCOccupancyTest","RPCClusterSizeTest","RPCDeadChannelTest","RPCMultiplicityTest ")
0047 process.rpcdqmclient.DiagnosticGlobalPrescale = cms.untracked.int32(5)
0048 process.rpcdqmclient.NumberOfEndcapDisks  = cms.untracked.int32(3)
0049 
0050 ################### FED ##################################
0051 process.load("DQM.RPCMonitorClient.RPCMonitorRaw_cfi")
0052 process.load("DQM.RPCMonitorClient.RPCFEDIntegrity_cfi")
0053 process.load("DQM.RPCMonitorClient.RPCMonitorLinkSynchro_cfi")
0054 
0055 
0056  ################# Quality Tests #########################
0057 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0058 process.qTesterRPC = DQMQualityTester(
0059     qtList = cms.untracked.FileInPath('DQM/RPCMonitorClient/test/RPCQualityTests.xml'),
0060     prescaleFactor = cms.untracked.int32(1)
0061 )
0062 
0063 ############# Message Logger ####################
0064 process.MessageLogger = cms.Service("MessageLogger",
0065     cerr = cms.untracked.PSet(
0066         enable = cms.untracked.bool(False)
0067     ),
0068     cout = cms.untracked.PSet(
0069         enable = cms.untracked.bool(True),
0070         threshold = cms.untracked.string('INFO')
0071     ),
0072     debugModules = cms.untracked.vstring('rpcdqmclient')
0073 )
0074 
0075 
0076 #process.Timing = cms.Service('Timing')
0077 
0078 ## process.options = cms.untracked.PSet(
0079 ##          wantSummary = cms.untracked.bool(True)
0080 ##          )
0081 
0082 ################# Path ###########################
0083 #process.rpcClientSequence = cms.Sequence(process.dqmEnv*process.readMeFromFile*process.qTesterRPC*process.rpcdqmclient*process.rpcOccupancyTest*process.rpcNoise*process.rpcEventSummary*process.dqmSaver)
0084 
0085 
0086 process.p = cms.Path(process.readMeFromFile*process.dqmEnv*process.qTesterRPC*process.rpcdqmclient*process.rpcEventSummary*process.rpcDCSSummary*process.rpcDaqInfo*process.rpcDataCertification*process.dqmSaver)
0087 
0088 
0089 
0090 
0091