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
0030
0031 process.load("DQM.Integration.config.environment_cfi")
0032
0033 process.dqmEnv.subSystemFolder = 'L1TEMU'
0034 process.dqmSaver.tag = 'L1TEMU'
0035 process.dqmSaver.runNumber = options.runNumber
0036
0037
0038
0039
0040
0041
0042
0043 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0044 process.GlobalTag.RefreshEachRun = True
0045
0046
0047
0048
0049
0050
0051 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0052
0053
0054
0055
0056
0057 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0058
0059
0060 process.load("DQM.L1TMonitor.L1TEmulatorMonitor_cff")
0061 process.load("DQM.L1TMonitorClient.L1TEMUMonitorClient_cff")
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 = 809
0078
0079
0080
0081
0082 process.l1HwValEmulatorMonitorPath = cms.Path(process.l1HwValEmulatorMonitor)
0083
0084 if (process.runType.getRunType() == process.runType.pp_run_stage1 or process.runType.getRunType() == process.runType.cosmic_run_stage1):
0085 process.gtDigis.DaqGtFedId = 809
0086 else:
0087 process.gtDigis.DaqGtFedId = 813
0088
0089
0090
0091
0092
0093 process.l1EmulatorMonitorClientPath = cms.Path(process.l1EmulatorMonitorClient)
0094
0095
0096 process.l1EmulatorMonitorEndPath = cms.EndPath(process.dqmEnv*process.dqmSaver)
0097
0098
0099 process.valCscTriggerPrimitiveDigis.gangedME1a = False
0100
0101 process.valCsctfTrackDigis.SectorProcessor.gangedME1a = False
0102
0103 process.schedule = cms.Schedule(process.rawToDigiPath,
0104 process.l1HwValEmulatorMonitorPath,
0105
0106 process.l1EmulatorMonitorEndPath)
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116 process.l1HwValEmulatorMonitorPath.remove(process.l1TdeCSCTF)
0117
0118 process.L1HardwareValidation.remove(process.deDt)
0119
0120 process.l1HwValEmulatorMonitorPath.remove(process.l1TdeRCTRun1)
0121
0122
0123
0124
0125
0126 process.l1compare.COMPARE_COLLS = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]
0127
0128 process.l1demon.COMPARE_COLLS = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]
0129
0130 process.l1demon.HistFolder = 'L1TEMU/Legacy'
0131
0132 process.l1TdeGCT.HistFolder = 'L1TEMU/Legacy/GCTexpert'
0133
0134 process.l1GtHwValidation.DirName = "L1TEMU/Legacy/GTexpert"
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147
0148
0149
0150
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 print("Running with run type = ", process.runType.getRunType())
0185 process.castorDigis.InputLabel = "rawDataCollector"
0186 process.csctfDigis.producer = "rawDataCollector"
0187 process.dttfDigis.DTTF_FED_Source = "rawDataCollector"
0188 process.ecalDigisCPU.InputLabel = "rawDataCollector"
0189 process.ecalPreshowerDigis.sourceTag = "rawDataCollector"
0190 process.gctDigis.inputLabel = "rawDataCollector"
0191 process.gtDigis.DaqGtInputTag = "rawDataCollector"
0192 process.gtEvmDigis.EvmGtInputTag = "rawDataCollector"
0193 process.hcalDigis.InputLabel = "rawDataCollector"
0194 process.l1compare.FEDsourceEmul = "rawDataCollector"
0195 process.l1compare.FEDsourceData = "rawDataCollector"
0196 process.muonCSCDigis.InputObjects = "rawDataCollector"
0197 process.muonDTDigis.inputLabel = "rawDataCollector"
0198 process.muonRPCDigis.InputLabel = "rawDataCollector"
0199 process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
0200 process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
0201 process.siStripDigis.ProductLabel = "rawDataCollector"
0202
0203
0204
0205
0206 if (process.runType.getRunType() == process.runType.hi_run):
0207 process.castorDigis.InputLabel = "rawDataRepacker"
0208 process.csctfDigis.producer = "rawDataRepacker"
0209 process.dttfDigis.DTTF_FED_Source = "rawDataRepacker"
0210 process.ecalDigisCPU.InputLabel = "rawDataRepacker"
0211 process.ecalPreshowerDigis.sourceTag = "rawDataRepacker"
0212 process.gctDigis.inputLabel = "rawDataRepacker"
0213 process.gtDigis.DaqGtInputTag = "rawDataRepacker"
0214 process.gtEvmDigis.EvmGtInputTag = "rawDataRepacker"
0215 process.hcalDigis.InputLabel = "rawDataRepacker"
0216 process.l1compare.FEDsourceEmul = "rawDataRepacker"
0217 process.l1compare.FEDsourceData = "rawDataRepacker"
0218 process.muonCSCDigis.InputObjects = "rawDataRepacker"
0219 process.muonDTDigis.inputLabel = "rawDataRepacker"
0220 process.muonRPCDigis.InputLabel = "rawDataRepacker"
0221 process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
0222 process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
0223 process.siStripDigis.ProductLabel = "rawDataRepacker"
0224
0225
0226
0227
0228 from DQM.Integration.config.online_customizations_cfi import *
0229 process = customise(process)