Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-18 03:27:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("rpcdqm")
0004 
0005 ################# Input ########################
0006 
0007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(50) )
0008 readFiles = cms.untracked.vstring()
0009 secFiles = cms.untracked.vstring() 
0010 process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0011 
0012 secFiles.extend([]);
0013 
0014 readFiles.extend( ['/store/data/Commissioning10/Cosmics/RAW/v4/000/132/202/0224D729-6A38-DF11-B1AF-0030487C8CBE.root'] );
0015 
0016 
0017 ################# Geometry  ######################
0018 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0019 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0020 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0021 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0022 
0023 ################# RPC Unpacker  ######################
0024 process.rpcunpacker = cms.EDFilter("RPCUnpackingModule",
0025     InputLabel = cms.InputTag("source"),
0026     doSynchro = cms.bool(False)
0027 )
0028 
0029 process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0030 
0031 ################# RPC Rec Hits  ######################
0032 process.load("RecoLocalMuon.RPCRecHit.rpcRecHits_cfi")
0033 process.rpcRecHits.rpcDigiLabel = 'rpcunpacker'
0034 
0035 ################# DQM Cetral Modules ###################
0036 process.load("DQMServices.Core.DQM_cfg")
0037 
0038 process.load("DQMServices.Components.DQMEnvironment_cfi")
0039 process.dqmEnv.subSystemFolder = 'RPC'
0040 process.dqmSaver.convention = 'Online'
0041 
0042 ################# DQM Event Summary ####################
0043 process.load("DQM.RPCMonitorClient.RPCEventSummary_cfi")
0044 process.rpcEventSummary.EventInfoPath = 'RPC/EventInfo'
0045 process.rpcEventSummary.PrescaleFactor = 1
0046 
0047 process.load("DQM.RPCMonitorClient.RPCDCSSummary_cfi")
0048 process.load("DQM.RPCMonitorClient.RPCDaqInfo_cfi")
0049 process.load("DQM.RPCMonitorClient.RPCDataCertification_cfi")
0050 
0051 ################# DQM Digi Module ######################
0052 process.load("DQM.RPCMonitorDigi.RPCDigiMonitoring_cfi")
0053 process.rpcdigidqm.DigiEventsInterval = 10
0054 process.rpcdigidqm.dqmshifter = True
0055 process.rpcdigidqm.dqmexpert = True
0056 process.rpcdigidqm.dqmsuperexpert = False
0057 process.rpcdigidqm.DigiDQMSaveRootFile = False
0058 
0059 ################# DQM Client Modules ####################
0060 process.load("DQM.RPCMonitorClient.RPCEventSummary_cfi")
0061 process.rpcEventSummary.PrescaleFactor = 1
0062 
0063 process.load("DQM.RPCMonitorClient.RPCDqmClient_cfi")
0064 process.rpcdqmclient.RPCDqmClientList = cms.untracked.vstring("RPCNoisyStripTest","RPCOccupancyTest","RPCClusterSizeTest","RPCDeadChannelTest","RPCMultiplicityTest")
0065 process.rpcdqmclient.DiagnosticGlobalPrescale = cms.untracked.int32(1)
0066 process.rpcdqmclient.NumberOfEndcapDisks  = cms.untracked.int32(3)
0067 process.rpcdqmclient.MinimumRPCEvents = cms.untracked.int32(1)
0068 
0069 process.load("DQM.RPCMonitorClient.RPCMon_SS_Dbx_Global_cfi")
0070 
0071 ################### FED ##################################
0072 process.load("DQM.RPCMonitorClient.RPCMonitorRaw_cfi")
0073 process.load("DQM.RPCMonitorClient.RPCFEDIntegrity_cfi")
0074 process.load("DQM.RPCMonitorClient.RPCMonitorLinkSynchro_cfi")
0075 
0076 
0077  ################# Quality Tests #########################
0078 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0079 process.qTesterRPC = DQMQualityTester(
0080     qtList = cms.untracked.FileInPath('DQM/RPCMonitorClient/test/RPCQualityTests.xml'),
0081     prescaleFactor = cms.untracked.int32(1),
0082     qtestOnEndLumi =  cms.untracked.bool(True)                               
0083 )
0084 
0085 ############# Message Logger ####################
0086 process.MessageLogger = cms.Service("MessageLogger",
0087      debugModules = cms.untracked.vstring('rpcdqmclient'),
0088      destinations = cms.untracked.vstring('cout'),
0089      cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO'))
0090 )
0091 
0092 
0093 #process.Timing = cms.Service('Timing')
0094 
0095 ## process.options = cms.untracked.PSet(
0096 ##          wantSummary = cms.untracked.bool(True)
0097 ##          )
0098 
0099 
0100 ############## Output module ##################*_MEtoEDMConverter_*_*
0101 process.out = cms.OutputModule("PoolOutputModule",
0102      fileName = cms.untracked.string('out.root'),
0103      outputCommands = cms.untracked.vstring("keep *")
0104 )
0105 
0106 
0107 ################# Path ###########################
0108 #process.rpcClientSequence = cms.Sequence(process.dqmEnv*process.readMeFromFile*process.qTesterRPC*process.rpcdqmclient*process.rpcOccupancyTest*process.rpcNoise*process.rpcEventSummary*process.dqmSaver)
0109 
0110 
0111 process.p = cms.Path(process.rpcunpacker*process.rpcRecHits*process.rpcdigidqm*process.rpcAfterPulse*process.rpcMonitorRaw*process.dqmEnv*process.qTesterRPC*process.rpcdqmclient*process.rpcEventSummary*process.rpcDCSSummary*process.rpcDaqInfo*process.rpcDataCertification*process.rpcFEDIntegrity*process.dqmSaver)
0112 
0113 
0114 #process.p = cms.Path(process.rpcunpacker*process.rpcRecHits*process.rpcdigidqm*process.dqmSaver)