File indexing completed on 2023-09-15 03:19:14
0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0003
0004 process = cms.Process('SIM',Run3_DDD)
0005
0006
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 process.load('Configuration.StandardSequences.MagneticField_cff')
0013 process.load('Configuration.StandardSequences.Generator_cff')
0014 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13p6TeVEarly2022Collision_cfi')
0015 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0016 process.load('Configuration.StandardSequences.SimIdeal_cff')
0017 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0018 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0019 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
0020
0021 if hasattr(process,'MessageLogger'):
0022 process.MessageLogger.HcalSim=dict()
0023 process.MessageLogger.HFShower=dict()
0024 process.MessageLogger.HitStudy=dict()
0025
0026 process.maxEvents = cms.untracked.PSet(
0027 input = cms.untracked.int32(10),
0028 output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030
0031
0032 process.source = cms.Source("EmptySource")
0033
0034 process.options = cms.untracked.PSet(
0035 IgnoreCompletely = cms.untracked.vstring(),
0036 Rethrow = cms.untracked.vstring(),
0037 TryToContinue = cms.untracked.vstring(),
0038 allowUnscheduled = cms.obsolete.untracked.bool,
0039 canDeleteEarly = cms.untracked.vstring(),
0040 emptyRunLumiMode = cms.obsolete.untracked.string,
0041 eventSetup = cms.untracked.PSet(
0042 forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0043
0044 ),
0045 numberOfConcurrentIOVs = cms.untracked.uint32(1)
0046 ),
0047 fileMode = cms.untracked.string('FULLMERGE'),
0048 forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0049 makeTriggerResults = cms.obsolete.untracked.bool,
0050 numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0051 numberOfConcurrentRuns = cms.untracked.uint32(1),
0052 numberOfStreams = cms.untracked.uint32(0),
0053 numberOfThreads = cms.untracked.uint32(1),
0054 printDependencies = cms.untracked.bool(False),
0055 sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0056 throwIfIllegalParameter = cms.untracked.bool(True),
0057 wantSummary = cms.untracked.bool(False)
0058 )
0059
0060
0061 process.configurationMetadata = cms.untracked.PSet(
0062 annotation = cms.untracked.string('SinglePion_cfi nevts:10'),
0063 name = cms.untracked.string('Applications'),
0064 version = cms.untracked.string('$Revision: 1.19 $')
0065 )
0066
0067
0068
0069 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0070 SelectEvents = cms.untracked.PSet(
0071 SelectEvents = cms.vstring('generation_step')
0072 ),
0073 dataset = cms.untracked.PSet(
0074 dataTier = cms.untracked.string('GEN-SIM'),
0075 filterName = cms.untracked.string('')
0076 ),
0077 fileName = cms.untracked.string('file:step1_ddd.root'),
0078 outputCommands = process.FEVTDEBUGEventContent.outputCommands,
0079 splitLevel = cms.untracked.int32(0)
0080 )
0081
0082
0083
0084
0085 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0086 from Configuration.AlCa.GlobalTag import GlobalTag
0087 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0088
0089 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0090 PGunParameters = cms.PSet(
0091 PartID = cms.vint32(211),
0092 MinEta = cms.double(3.1),
0093 MaxEta = cms.double(4.6),
0094 MinPhi = cms.double(-3.1415926),
0095 MaxPhi = cms.double(-1.5707963),
0096 MinE = cms.double(100.00),
0097 MaxE = cms.double(100.00)
0098 ),
0099 Verbosity = cms.untracked.int32(0),
0100 AddAntiParticle = cms.bool(True)
0101 )
0102
0103 process.load("SimG4CMS.Calo.hcalSimHitDump_cfi")
0104 process.ProductionFilterSequence = cms.Sequence(process.generator)
0105
0106
0107 process.generation_step = cms.Path(process.pgen)
0108 process.simulation_step = cms.Path(process.psim)
0109 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0110 process.analysis_step = cms.Path(process.hcalSimHitDump)
0111 process.endjob_step = cms.EndPath(process.endOfProcess)
0112 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0113
0114
0115 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.analysis_step,process.FEVTDEBUGoutput_step)
0116 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0117 associatePatAlgosToolsTask(process)
0118
0119 for path in process.paths:
0120 getattr(process,path).insert(0, process.ProductionFilterSequence)
0121
0122
0123
0124
0125
0126 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0127 process = customiseEarlyDelete(process)
0128