File indexing completed on 2024-11-19 23:19:57
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 from Configuration.Eras.Era_Run3_cff import Run3
0005 process = cms.Process("process", Run3)
0006
0007
0008
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010
0011
0012
0013 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0014 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0015 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0016 process.load("RecoLocalCalo.EcalRecProducers.ecalGlobalUncalibRecHit_cfi")
0017 process.load("RecoLocalCalo.EcalRecProducers.ecalDetIdToBeRecovered_cfi")
0018 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
0019 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0020 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
0021 process.load("DQM.EcalMonitorTasks.EcalCalibMonitorTasks_cfi")
0022 process.load("DQM.EcalMonitorClient.EcalCalibMonitorClient_cfi")
0023 process.load("DQM.Integration.config.environment_cfi")
0024 process.load("FWCore.Modules.preScaler_cfi")
0025 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0026 process.load("DQM.Integration.config.inputsource_cfi")
0027 from DQM.Integration.config.inputsource_cfi import options
0028
0029
0030
0031 process.MessageLogger = cms.Service("MessageLogger",
0032 cerr = cms.untracked.PSet(
0033 default = cms.untracked.PSet(
0034 limit = cms.untracked.int32(-1)
0035 ),
0036 EcalLaserDbService = cms.untracked.PSet(
0037 limit = cms.untracked.int32(10)
0038 ),
0039 noTimeStamps = cms.untracked.bool(True),
0040 threshold = cms.untracked.string('WARNING'),
0041 noLineBreaks = cms.untracked.bool(True)
0042 ),
0043 cout = cms.untracked.PSet(
0044 default = cms.untracked.PSet(
0045 limit = cms.untracked.int32(0)
0046 ),
0047 EcalDQM = cms.untracked.PSet(
0048 limit = cms.untracked.int32(-1)
0049 ),
0050 threshold = cms.untracked.string('INFO')
0051 ),
0052 categories = cms.untracked.vstring('EcalDQM',
0053 'EcalLaserDbService'),
0054 destinations = cms.untracked.vstring('cerr',
0055 'cout')
0056 )
0057
0058 process.maxEvents = cms.untracked.PSet(
0059 input = cms.untracked.int32(-1)
0060 )
0061
0062 process.ecalLaserLedUncalibRecHit = cms.EDProducer("EcalUncalibRecHitProducer",
0063 EEdigiCollection = cms.InputTag("ecalDigis","eeDigis"),
0064 EBdigiCollection = cms.InputTag("ecalDigis","ebDigis"),
0065 EBhitCollection = cms.string('EcalUncalibRecHitsEB'),
0066 EEhitCollection = cms.string('EcalUncalibRecHitsEE'),
0067 algo = cms.string('EcalUncalibRecHitWorkerFixedAlphaBetaFit'),
0068 algoPSet = cms.PSet(
0069 alphaEB = cms.double(1.138),
0070 alphaEE = cms.double(1.89),
0071 AlphaBetaFilename = cms.untracked.string('NOFILE'),
0072 betaEB = cms.double(1.655),
0073 betaEE = cms.double(1.4),
0074 MinAmplEndcap = cms.double(16.0),
0075 MinAmplBarrel = cms.double(12.0),
0076 UseDynamicPedestal = cms.bool(True)
0077 )
0078 )
0079
0080 process.ecalLaserLedFilter = cms.EDFilter("EcalMonitorPrescaler",
0081 laser = cms.untracked.uint32(1),
0082 led = cms.untracked.uint32(1),
0083 EcalRawDataCollection = cms.InputTag("ecalDigis")
0084 )
0085
0086 process.ecalPedestalFilter = cms.EDFilter("EcalMonitorPrescaler",
0087 pedestal = cms.untracked.uint32(1),
0088 EcalRawDataCollection = cms.InputTag("ecalDigis")
0089 )
0090
0091 process.ecalTestPulseFilter = cms.EDFilter("EcalMonitorPrescaler",
0092 EcalRawDataCollection = cms.InputTag("ecalDigis"),
0093 testPulse = cms.untracked.uint32(1)
0094 )
0095
0096 process.ecalDigis = cms.EDProducer("EcalRawToDigi",
0097 tccUnpacking = cms.bool(True),
0098 FedLabel = cms.InputTag("listfeds"),
0099 srpUnpacking = cms.bool(True),
0100 syncCheck = cms.bool(True),
0101 feIdCheck = cms.bool(True),
0102 silentMode = cms.untracked.bool(True),
0103 InputLabel = cms.InputTag("hltEcalCalibrationRaw"),
0104 orderedFedList = cms.vint32(601, 602, 603, 604, 605,
0105 606, 607, 608, 609, 610,
0106 611, 612, 613, 614, 615,
0107 616, 617, 618, 619, 620,
0108 621, 622, 623, 624, 625,
0109 626, 627, 628, 629, 630,
0110 631, 632, 633, 634, 635,
0111 636, 637, 638, 639, 640,
0112 641, 642, 643, 644, 645,
0113 646, 647, 648, 649, 650,
0114 651, 652, 653, 654),
0115 eventPut = cms.bool(True),
0116 numbTriggerTSamples = cms.int32(1),
0117 numbXtalTSamples = cms.int32(10),
0118 orderedDCCIdList = cms.vint32(1, 2, 3, 4, 5,
0119 6, 7, 8, 9, 10,
0120 11, 12, 13, 14, 15,
0121 16, 17, 18, 19, 20,
0122 21, 22, 23, 24, 25,
0123 26, 27, 28, 29, 30,
0124 31, 32, 33, 34, 35,
0125 36, 37, 38, 39, 40,
0126 41, 42, 43, 44, 45,
0127 46, 47, 48, 49, 50,
0128 51, 52, 53, 54),
0129 FEDs = cms.vint32(601, 602, 603, 604, 605,
0130 606, 607, 608, 609, 610,
0131 611, 612, 613, 614, 615,
0132 616, 617, 618, 619, 620,
0133 621, 622, 623, 624, 625,
0134 626, 627, 628, 629, 630,
0135 631, 632, 633, 634, 635,
0136 636, 637, 638, 639, 640,
0137 641, 642, 643, 644, 645,
0138 646, 647, 648, 649, 650,
0139 651, 652, 653, 654),
0140 DoRegional = cms.bool(False),
0141 feUnpacking = cms.bool(True),
0142 forceToKeepFRData = cms.bool(False),
0143 headerUnpacking = cms.bool(True),
0144 memUnpacking = cms.bool(True)
0145 )
0146
0147 process.ecalTestPulseUncalibRecHit = cms.EDProducer("EcalUncalibRecHitProducer",
0148 EBdigiCollection = cms.InputTag("ecalDigis","ebDigis"),
0149 EEhitCollection = cms.string('EcalUncalibRecHitsEE'),
0150 EEdigiCollection = cms.InputTag("ecalDigis","eeDigis"),
0151 algo = cms.string('EcalUncalibRecHitWorkerMaxSample'),
0152 EBhitCollection = cms.string('EcalUncalibRecHitsEB')
0153 )
0154
0155 process.ecalCalibMonitorClient.verbosity = 0
0156 process.ecalCalibMonitorClient.commonParameters.onlineMode = True
0157
0158 process.preScaler.prescaleFactor = 1
0159
0160 process.source.streamLabel = "streamDQMCalibration"
0161
0162 process.ecalPedestalMonitorTask.verbosity = 0
0163 process.ecalPedestalMonitorTask.commonParameters.onlineMode = True
0164
0165 process.ecalLaserLedMonitorTask.verbosity = 0
0166 process.ecalLaserLedMonitorTask.collectionTags.EBLaserLedUncalibRecHit = "ecalLaserLedUncalibRecHit:EcalUncalibRecHitsEB"
0167 process.ecalLaserLedMonitorTask.collectionTags.EELaserLedUncalibRecHit = "ecalLaserLedUncalibRecHit:EcalUncalibRecHitsEE"
0168 process.ecalLaserLedMonitorTask.commonParameters.onlineMode = True
0169
0170 process.GlobalTag.toGet = cms.VPSet(cms.PSet(
0171 record = cms.string('EcalDQMChannelStatusRcd'),
0172 tag = cms.string('EcalDQMChannelStatus_v1_hlt'),
0173 ),
0174 cms.PSet(
0175 record = cms.string('EcalDQMTowerStatusRcd'),
0176 tag = cms.string('EcalDQMTowerStatus_v1_hlt'),
0177 ))
0178
0179 process.ecalTestPulseMonitorTask.verbosity = 0
0180 process.ecalTestPulseMonitorTask.commonParameters.onlineMode = True
0181
0182 process.ecalRecHit.EEuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEE"
0183 process.ecalRecHit.EBuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEB"
0184 process.ecalRecHit.timeCalibTag = ':'
0185 process.ecalRecHit.timeOffsetTag = ':'
0186
0187 process.ecalPNDiodeMonitorTask.verbosity = 0
0188 process.ecalPNDiodeMonitorTask.commonParameters.onlineMode = True
0189
0190 process.dqmEnv.subSystemFolder = 'EcalCalibration'
0191 process.dqmSaver.tag = 'EcalCalibration'
0192 process.dqmSaver.runNumber = options.runNumber
0193
0194
0195
0196
0197
0198 process.ecalRecoSequence = cms.Sequence((process.ecalGlobalUncalibRecHit+process.ecalDetIdToBeRecovered+process.ecalRecHit))
0199 process.ecalPreRecoSequence = cms.Sequence(process.ecalDigis)
0200
0201
0202
0203 process.ecalLaserLedPath = cms.Path(process.preScaler+process.ecalPreRecoSequence+process.ecalLaserLedFilter+process.ecalRecoSequence+process.ecalLaserLedUncalibRecHit+process.ecalLaserLedMonitorTask+process.ecalPNDiodeMonitorTask)
0204 process.ecalTestPulsePath = cms.Path(process.preScaler+process.ecalPreRecoSequence+process.ecalTestPulseFilter+process.ecalRecoSequence+process.ecalTestPulseUncalibRecHit+process.ecalTestPulseMonitorTask+process.ecalPNDiodeMonitorTask)
0205 process.ecalPedestalPath = cms.Path(process.preScaler+process.ecalPreRecoSequence+process.ecalPedestalFilter+process.ecalRecoSequence+process.ecalPedestalMonitorTask+process.ecalPNDiodeMonitorTask)
0206 process.ecalClientPath = cms.Path(process.ecalCalibMonitorClient)
0207
0208 process.dqmEndPath = cms.EndPath(process.dqmEnv)
0209 process.dqmOutputPath = cms.EndPath(process.dqmSaver )
0210
0211
0212
0213 process.schedule = cms.Schedule(process.ecalLaserLedPath,process.ecalTestPulsePath,process.ecalPedestalPath,process.ecalClientPath,process.dqmEndPath,process.dqmOutputPath)
0214
0215
0216 from DQM.Integration.config.online_customizations_cfi import *
0217 print("Final Source settings:", process.source)
0218 process = customise(process)