Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-16 06:12:40

0001 ### AUTO-GENERATED CMSRUN CONFIGURATION FOR ECAL DQM ###
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 ### Load cfis ###
0008 
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010 #process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0011 #process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0012 #process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
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 ### Individual module setups ###
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 
0163 process.ecalPedestalMonitorTask.verbosity = 0
0164 process.ecalPedestalMonitorTask.commonParameters.onlineMode = True
0165 
0166 
0167 process.ecalLaserLedMonitorTask.verbosity = 0
0168 process.ecalLaserLedMonitorTask.collectionTags.EBLaserLedUncalibRecHit = "ecalLaserLedUncalibRecHit:EcalUncalibRecHitsEB"
0169 process.ecalLaserLedMonitorTask.collectionTags.EELaserLedUncalibRecHit = "ecalLaserLedUncalibRecHit:EcalUncalibRecHitsEE"
0170 process.ecalLaserLedMonitorTask.commonParameters.onlineMode = True
0171 
0172 process.GlobalTag.toGet = cms.VPSet(cms.PSet(
0173     record = cms.string('EcalDQMChannelStatusRcd'),
0174     tag = cms.string('EcalDQMChannelStatus_v1_hlt'),
0175 ), 
0176     cms.PSet(
0177         record = cms.string('EcalDQMTowerStatusRcd'),
0178         tag = cms.string('EcalDQMTowerStatus_v1_hlt'),
0179     ))
0180 
0181 process.ecalTestPulseMonitorTask.verbosity = 0
0182 process.ecalTestPulseMonitorTask.commonParameters.onlineMode = True
0183 
0184 process.ecalRecHit.EEuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEE"
0185 process.ecalRecHit.EBuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEB"
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 process.dqmSaverPB.tag = 'EcalCalibration'
0194 process.dqmSaverPB.runNumber = options.runNumber
0195 
0196 ### Sequences ###
0197 
0198 process.ecalRecoSequence = cms.Sequence((process.ecalGlobalUncalibRecHit+process.ecalDetIdToBeRecovered+process.ecalRecHit))
0199 process.ecalPreRecoSequence = cms.Sequence(process.ecalDigis)
0200 
0201 ### Paths ###
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 + process.dqmSaverPB)
0210 
0211 ### Schedule ###
0212 
0213 process.schedule = cms.Schedule(process.ecalLaserLedPath,process.ecalTestPulsePath,process.ecalPedestalPath,process.ecalClientPath,process.dqmEndPath,process.dqmOutputPath)
0214 
0215 ### process customizations included here
0216 from DQM.Integration.config.online_customizations_cfi import *
0217 print("Final Source settings:", process.source)
0218 process = customise(process)