# Path and EndPath definitions process.generation_step = cms.Path(process.pgen) process.simulation_step = cms.Path(process.psim) process.digitisation_step = cms.Path(process.pdigi) process.L1simulation_step = cms.Path(process.SimL1Emulator) process.digi2raw_step = cms.Path(process.DigiToRaw) process.raw2digi_step = cms.Path(process.RawToDigi) process.L1Reco_step = cms.Path(process.L1Reco) process.reconstruction_step = cms.Path(process.reconstruction) process.genfiltersummary_step = cms.EndPath(process.genFilterSummary) process.endjob_step = cms.EndPath(process.endOfProcess) process.AODSIMoutput_step = cms.EndPath(process.AODSIMoutput) # Schedule definition process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.endjob_step,process.AODSIMoutput_step) # filter all path with the production filter sequence for path in process.paths: getattr(process,path)._seq = process.generator * getattr(process,path)._seq # customisation of the process. # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.combinedCustoms from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2019WithGem #call to customisation function cust_2019WithGem imported from SLHCUpgradeSimulations.Configuration.combinedCustoms process = cust_2019WithGem(process) # End of customisation functions
else: process.L1simulation_step = cms.Path(process.mul1) process.endjob_step = cms.Path(process.endOfProcess) process.out_step = cms.EndPath(process.output) ## Schedule definition process.schedule = cms.Schedule(process.L1simulation_step, process.endjob_step, process.out_step) ## customization if scenario is 1: from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2019 process = cust_2019(process) elif scenario is 2: from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2019WithGem process = cust_2019WithGem(process) elif scenario is 3: from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023Muon process = cust_2023Muon(process) ## some extra L1 customs process.l1extraParticles.centralBxOnly = cms.bool(True) process.l1extraParticles.produceMuonParticles = cms.bool(True) process.l1extraParticles.produceCaloParticles = cms.bool(False) process.l1extraParticles.ignoreHtMiss = cms.bool(False) ## messages print print 'Input files:' print '----------------------------------------' print process.source.fileNames