File indexing completed on 2024-11-26 02:34:07
0001 import FWCore.ParameterSet.Config as cms
0002 import FWCore.ParameterSet.VarParsing as VarParsing
0003
0004 process = cms.Process("DTDQM")
0005
0006
0007
0008
0009
0010 process.load("DQM.DTMonitorModule.test.inputsource_live_cfi")
0011
0012
0013
0014
0015
0016
0017
0018 process.load("DQM.Integration.config.environment_cfi")
0019 process.dqmRunConfig.collectorHost = 'fu-c2f11-23-01.cms'
0020 process.dqmSaver.path = "./"
0021
0022
0023
0024
0025 process.dqmEnv.subSystemFolder = 'DT'
0026 process.dqmSaver.tag = "DT"
0027
0028
0029
0030
0031
0032
0033
0034 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0035 process.load("Configuration/StandardSequences/MagneticField_cff")
0036 process.load("DQM.DTMonitorModule.dt_dqm_sourceclient_common_cff")
0037
0038 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0039
0040
0041
0042
0043
0044 process.MessageLogger = cms.Service("MessageLogger",
0045 destinations = cms.untracked.vstring('cout'),
0046 cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'))
0047 )
0048
0049 process.dqmmodules = cms.Sequence(process.dqmEnv + process.dqmSaver)
0050
0051 process.dtDQMPathPhys = cms.Path(process.unpackers + process.dqmmodules + process.physicsEventsFilter * process.dtDQMPhysSequence)
0052
0053
0054
0055 process.twinMuxStage2Digis.DTTM7_FED_Source = cms.InputTag("rawDataCollector")
0056 process.dtunpacker.inputLabel = cms.InputTag("rawDataCollector")
0057 process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataCollector")
0058 process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataCollector")
0059
0060 print("Running with run type = ", process.runType.getRunType())
0061
0062
0063
0064
0065
0066 if (process.runType.getRunType() == process.runType.pp_run):
0067 pass
0068
0069
0070
0071
0072
0073
0074 if (process.runType.getRunType() == process.runType.cosmic_run):
0075 pass
0076
0077
0078
0079
0080
0081
0082 if (process.runType.getRunType() == process.runType.hi_run):
0083 process.twinMuxStage2Digis.DTTM7_FED_Source = cms.InputTag("rawDataRepacker")
0084 process.dtunpacker.inputLabel = cms.InputTag("rawDataRepacker")
0085 process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataRepacker")
0086 process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataRepacker")
0087
0088 process.dtDigiMonitor.ResetCycle = cms.untracked.int32(9999)
0089
0090
0091
0092
0093 from DQM.Integration.config.online_customizations_cfi import *
0094 process = customise(process)
0095
0096
0097 if (process.dtDqmConfig.getProcessAB7Digis() or \
0098 process.dtDqmConfig.getProcessAB7TPs()) :
0099 from DQM.DTMonitorModule.slice_test_customizations_cff import *
0100 process = customise_for_slice_test(process,
0101 process.dtDqmConfig.getProcessAB7Digis(),
0102 process.dtDqmConfig.getProcessAB7TPs())
0103
0104
0105 if (process.dtDqmConfig.getRunWithLargeTB()) :
0106 process.dtDigiMonitor.maxTTMounts = 6400
0107
0108 if (process.dtDqmConfig.getProcessAB7Digis()) :
0109 process.dtAB7DigiMonitor.maxTTMounts = 6400
0110 process.dtAB7DigiMonitor.tdcPedestal = process.dtDqmConfig.getTBTDCPedestal()