File indexing completed on 2024-11-26 02:34:08
0001
0002
0003
0004
0005
0006
0007
0008 import FWCore.ParameterSet.Config as cms
0009
0010 from Configuration.Eras.Era_Run3_cff import Run3
0011 process = cms.Process("L1TEmuDQMlive", Run3)
0012
0013
0014
0015
0016
0017
0018 process.load("DQM.Integration.config.inputsource_cfi")
0019 from DQM.Integration.config.inputsource_cfi import options
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 process.load("DQM.Integration.config.environment_cfi")
0030
0031 process.dqmEnv.subSystemFolder = 'L1TEMUStage1'
0032 process.dqmSaver.tag = 'L1TEMUStage1'
0033 process.dqmSaver.runNumber = options.runNumber
0034
0035
0036
0037
0038
0039
0040
0041
0042 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0043 process.GlobalTag.RefreshEachRun = True
0044
0045
0046
0047
0048
0049
0050 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0051
0052
0053
0054
0055
0056 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0057
0058
0059 process.load("DQM.L1TMonitor.L1TEmulatorMonitor_cff")
0060 process.load("DQM.L1TMonitorClient.L1TEMUMonitorClient_cff")
0061
0062
0063
0064
0065
0066
0067
0068
0069 process.rawToDigiPath = cms.Path(process.RawToDigi)
0070
0071 process.RawToDigi.remove("siPixelDigis")
0072 process.RawToDigi.remove("siStripDigis")
0073 process.RawToDigi.remove("scalersRawToDigi")
0074 process.RawToDigi.remove("castorDigis")
0075
0076
0077 process.gtDigis.DaqGtFedId = 813
0078
0079
0080
0081
0082 process.l1HwValEmulatorMonitorPath = cms.Path(process.l1Stage1HwValEmulatorMonitor)
0083
0084
0085
0086
0087
0088 process.stage1UnpackerPath = cms.Path(process.caloStage1Digis+process.caloStage1LegacyFormatDigis)
0089
0090
0091 process.l1EmulatorMonitorClientPath = cms.Path(process.l1EmulatorMonitorClient)
0092
0093
0094 process.l1EmulatorMonitorEndPath = cms.EndPath(process.dqmEnv*process.dqmSaver)
0095
0096
0097
0098
0099 process.schedule = cms.Schedule(process.rawToDigiPath,
0100 process.stage1UnpackerPath,
0101 process.l1HwValEmulatorMonitorPath,
0102 process.l1EmulatorMonitorClientPath,
0103 process.l1EmulatorMonitorEndPath)
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115 process.L1HardwareValidation.remove(process.deDt)
0116
0117
0118
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146 process.l1demonstage1.HistFolder = 'L1TEMU'
0147
0148 process.l1TdeStage1Layer2.HistFolder = 'L1TEMU/Stage1Layer2expert'
0149
0150 process.l1Stage1GtHwValidation.DirName = "L1TEMU/GTexpert"
0151
0152
0153
0154
0155
0156
0157
0158
0159
0160
0161
0162
0163
0164
0165
0166
0167
0168
0169
0170
0171
0172
0173
0174
0175
0176
0177
0178
0179
0180
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190
0191 print("Running with run type = ", process.runType.getRunType())
0192 process.castorDigis.InputLabel = "rawDataCollector"
0193 process.csctfDigis.producer = "rawDataCollector"
0194 process.dttfDigis.DTTF_FED_Source = "rawDataCollector"
0195 process.ecalDigisCPU.InputLabel = "rawDataCollector"
0196 process.ecalPreshowerDigis.sourceTag = "rawDataCollector"
0197 process.gctDigis.inputLabel = "rawDataCollector"
0198 process.gtDigis.DaqGtInputTag = "rawDataCollector"
0199 process.gtEvmDigis.EvmGtInputTag = "rawDataCollector"
0200 process.hcalDigis.InputLabel = "rawDataCollector"
0201 process.l1compare.FEDsourceEmul = "rawDataCollector"
0202 process.l1compare.FEDsourceData = "rawDataCollector"
0203 process.muonCSCDigis.InputObjects = "rawDataCollector"
0204 process.muonDTDigis.inputLabel = "rawDataCollector"
0205 process.muonRPCDigis.InputLabel = "rawDataCollector"
0206 process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
0207 process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
0208 process.siStripDigis.ProductLabel = "rawDataCollector"
0209
0210
0211
0212
0213 if (process.runType.getRunType() == process.runType.hi_run):
0214 process.castorDigis.InputLabel = "rawDataRepacker"
0215 process.csctfDigis.producer = "rawDataRepacker"
0216 process.dttfDigis.DTTF_FED_Source = "rawDataRepacker"
0217 process.ecalDigisCPU.InputLabel = "rawDataRepacker"
0218 process.ecalPreshowerDigis.sourceTag = "rawDataRepacker"
0219 process.gctDigis.inputLabel = "rawDataRepacker"
0220 process.gtDigis.DaqGtInputTag = "rawDataRepacker"
0221 process.gtEvmDigis.EvmGtInputTag = "rawDataRepacker"
0222 process.hcalDigis.InputLabel = "rawDataRepacker"
0223 process.l1compare.FEDsourceEmul = "rawDataRepacker"
0224 process.l1compare.FEDsourceData = "rawDataRepacker"
0225 process.muonCSCDigis.InputObjects = "rawDataRepacker"
0226 process.muonDTDigis.inputLabel = "rawDataRepacker"
0227 process.muonRPCDigis.InputLabel = "rawDataRepacker"
0228 process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
0229 process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
0230 process.siStripDigis.ProductLabel = "rawDataRepacker"
0231
0232
0233
0234
0235 from DQM.Integration.config.online_customizations_cfi import *
0236 process = customise(process)