File indexing completed on 2024-11-06 06:06:52
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Eras.Era_Phase2C10_cff import Phase2C10
0004 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0005 from Configuration.ProcessModifiers.gpu_cff import gpu
0006 from Configuration.ProcessModifiers.gpuValidationEcal_cff import gpuValidationEcal
0007
0008 process = cms.Process('RECO',Phase2C10,phase2_ecal_devel, gpu, gpuValidationEcal)
0009
0010
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.Geometry.GeometryExtendedRun4D60Reco_cff')
0017 process.load('Configuration.StandardSequences.MagneticField_cff')
0018 process.load('Configuration.StandardSequences.RawToDigi_cff')
0019 process.load('Configuration.StandardSequences.L1Reco_cff')
0020 process.load('Configuration.StandardSequences.Reconstruction_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0023 process.load('RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitPhase2_cff')
0024 process.load('RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi')
0025
0026 process.maxEvents = cms.untracked.PSet(
0027 input = cms.untracked.int32(100),
0028 output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030
0031 process.load('HLTrigger.Timer.FastTimerService_cfi')
0032 process.FastTimerService.enableDQM = False
0033 process.FastTimerService.printRunSummary = False
0034 process.FastTimerService.printJobSummary = True
0035 process.FastTimerService.writeJSONSummary = True
0036 process.FastTimerService.jsonFileName = 'resources.json'
0037 process.MessageLogger.FastReport = cms.untracked.PSet()
0038
0039
0040
0041
0042 process.source = cms.Source("PoolSource",
0043 fileNames = cms.untracked.vstring('/store/group/dpg_ecal/comm_ecal/upgrade/Phase2CMSSW///RelValTTbar_14TeV_ecaldigi_123X_mcRun4_realistic_v3_2026D77noPU-v1.root'),
0044 secondaryFileNames = cms.untracked.vstring()
0045 )
0046
0047 process.options = cms.untracked.PSet(
0048 IgnoreCompletely = cms.untracked.vstring(),
0049 Rethrow = cms.untracked.vstring(),
0050 TryToContinue = cms.untracked.vstring(),
0051 allowUnscheduled = cms.obsolete.untracked.bool,
0052 canDeleteEarly = cms.untracked.vstring(),
0053 emptyRunLumiMode = cms.obsolete.untracked.string,
0054 eventSetup = cms.untracked.PSet(
0055 forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0056 allowAnyLabel_=cms.required.untracked.uint32
0057 ),
0058 numberOfConcurrentIOVs = cms.untracked.uint32(1)
0059 ),
0060 fileMode = cms.untracked.string('FULLMERGE'),
0061 forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0062 makeTriggerResults = cms.obsolete.untracked.bool,
0063 numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0064 numberOfConcurrentRuns = cms.untracked.uint32(1),
0065 numberOfStreams = cms.untracked.uint32(0),
0066 numberOfThreads = cms.untracked.uint32(1),
0067 printDependencies = cms.untracked.bool(False),
0068 sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0069 throwIfIllegalParameter = cms.untracked.bool(True),
0070 wantSummary = cms.untracked.bool(True)
0071 )
0072
0073
0074 process.configurationMetadata = cms.untracked.PSet(
0075 annotation = cms.untracked.string('step3GPU nevts:10'),
0076 name = cms.untracked.string('Applications'),
0077 version = cms.untracked.string('$Revision: 1.19 $')
0078 )
0079
0080
0081 process.ecalMonitorTaskEcalOnly.workers = ["GpuTask"]
0082 process.ecalMonitorTaskEcalOnly.collectionTags.EBCpuUncalibRecHit = "ecalUncalibRecHitPhase2@cpu:EcalUncalibRecHitsEB"
0083 process.ecalMonitorTaskEcalOnly.collectionTags.EBGpuUncalibRecHit = "ecalUncalibRecHitPhase2@cuda:EcalUncalibRecHitsEB"
0084
0085
0086 outputCommand = process.FEVTDEBUGHLTEventContent.outputCommands
0087 outputCommand.append('keep *_ecalUncalibRecHitPhase2*_*_RECO')
0088 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0089 dataset = cms.untracked.PSet(
0090 dataTier = cms.untracked.string('GEN-SIM-RECO'),
0091 filterName = cms.untracked.string('')
0092 ),
0093 fileName = cms.untracked.string('file:step3GPU.root'),
0094 outputCommands = outputCommand,
0095 splitLevel = cms.untracked.int32(0)
0096 )
0097
0098 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0099 dataset = cms.untracked.PSet(
0100 dataTier = cms.untracked.string('DQMIO'),
0101 filterName = cms.untracked.string('')
0102 ),
0103 fileName = cms.untracked.string('file:step3GPU_inDQM.root'),
0104 outputCommands = process.DQMEventContent.outputCommands,
0105 splitLevel = cms.untracked.int32(0)
0106 )
0107
0108
0109
0110
0111 from Configuration.AlCa.GlobalTag import GlobalTag
0112 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0113
0114
0115 process.L1Reco_step = cms.Path(process.L1Reco)
0116 process.reconstruction_step = cms.Path(cms.Sequence(cms.Task(
0117 process.bunchSpacingProducer,
0118 process.ecalUncalibRecHitPhase2Task
0119 )))
0120 process.dqmoffline_step = cms.EndPath(process.DQMOfflineEcalOnly)
0121
0122 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0123 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0124
0125
0126 process.schedule = cms.Schedule(process.L1Reco_step,process.reconstruction_step,process.dqmoffline_step,process.FEVTDEBUGHLToutput_step,process.DQMoutput_step)
0127 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0128 associatePatAlgosToolsTask(process)
0129
0130
0131
0132
0133
0134
0135 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0136 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0137
0138
0139 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0140 process = customiseEarlyDelete(process)
0141