File indexing completed on 2024-04-06 12:30:51
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 from Configuration.StandardSequences.Eras import eras
0008 process = cms.Process('DIGI2RAW',eras.Run3)
0009
0010
0011 process.load('Configuration.StandardSequences.Services_cff')
0012
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('Configuration.StandardSequences.MagneticField_cff')
0016 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0017 process.load('Configuration.StandardSequences.Digi_cff')
0018 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0019 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0020 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 process.load('Configuration.StandardSequences.GeometryDB_cff')
0023
0024
0025 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0026 process.source = cms.Source("PoolSource",
0027 skipEvents=cms.untracked.uint32(0),
0028 dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0029 fileNames = cms.untracked.vstring('file:GluGlu_step1_GEN_SIM_2021.root'),
0030 inputCommands = cms.untracked.vstring('keep *',
0031 'drop *_genParticles_*_*',
0032 'drop *_genParticlesForJets_*_*',
0033 'drop *_kt4GenJets_*_*',
0034 'drop *_kt6GenJets_*_*',
0035 'drop *_iterativeCone5GenJets_*_*',
0036 'drop *_ak4GenJets_*_*',
0037 'drop *_ak7GenJets_*_*',
0038 'drop *_ak8GenJets_*_*',
0039 'drop *_ak4GenJetsNoNu_*_*',
0040 'drop *_ak8GenJetsNoNu_*_*',
0041 'drop *_genCandidatesForMET_*_*',
0042 'drop *_genParticlesForMETAllVisible_*_*',
0043 'drop *_genMetCalo_*_*',
0044 'drop *_genMetCaloAndNonPrompt_*_*',
0045 'drop *_genMetTrue_*_*',
0046 'drop *_genMetIC5GenJs_*_*'),
0047 secondaryFileNames = cms.untracked.vstring()
0048 )
0049
0050 process.options = cms.untracked.PSet(
0051 SkipEvent = cms.untracked.vstring('ProductNotFound')
0052 )
0053
0054
0055 process.configurationMetadata = cms.untracked.PSet(
0056 annotation = cms.untracked.string('step2 nevts:10'),
0057 name = cms.untracked.string('Applications'),
0058 version = cms.untracked.string('$Revision: 1.19 $')
0059 )
0060
0061
0062 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0063 dataset = cms.untracked.PSet(
0064 dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0065 filterName = cms.untracked.string('')
0066 ),
0067 eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0068 fileName = cms.untracked.string('GluGlu_step2_DIGI_DIGI2RAW_2021.root'),
0069 outputCommands = process.FEVTDEBUGEventContent.outputCommands + ['keep *_CTPPS*_*_*',"keep *_*RP*_*_*",'keep *_generatorSmeared_*_*'],
0070 splitLevel = cms.untracked.int32(0)
0071 )
0072
0073
0074
0075
0076 from Configuration.AlCa.GlobalTag import GlobalTag
0077 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0078
0079
0080
0081 process.digitisation_step = cms.Path(process.pdigi)
0082 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0083 process.digi2raw_step = cms.Path(process.DigiToRaw)
0084 process.endjob_step = cms.EndPath(process.endOfProcess)
0085 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0086
0087 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0088 process.schedule.extend([process.endjob_step,process.FEVTDEBUGoutput_step])
0089
0090 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0091 associatePatAlgosToolsTask(process)
0092
0093
0094
0095
0096 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0097 process = customiseEarlyDelete(process)
0098