Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:23:00

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 from Configuration.StandardSequences.Eras import eras
0008 process = cms.Process('DIGI2RAW',eras.Run3)
0009 
0010 # import of standard configurations
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('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 # Since the PPS simulation geometry is not yet in the database, the line below is needed
0025 #process.load("Geometry.VeryForwardGeometry.geometryPPS_CMSxz_fromDD_2021_cfi")
0026 
0027 # Input source
0028 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0029 process.source = cms.Source("PoolSource",
0030     skipEvents=cms.untracked.uint32(0), 
0031     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0032     fileNames = cms.untracked.vstring('file:step1_SIM2021.root'),
0033     inputCommands = cms.untracked.vstring('keep *', 
0034         'drop *_genParticles_*_*', 
0035         'drop *_genParticlesForJets_*_*', 
0036         'drop *_kt4GenJets_*_*', 
0037         'drop *_kt6GenJets_*_*', 
0038         'drop *_iterativeCone5GenJets_*_*', 
0039         'drop *_ak4GenJets_*_*', 
0040         'drop *_ak7GenJets_*_*', 
0041         'drop *_ak8GenJets_*_*', 
0042         'drop *_ak4GenJetsNoNu_*_*', 
0043         'drop *_ak8GenJetsNoNu_*_*', 
0044         'drop *_genCandidatesForMET_*_*', 
0045         'drop *_genParticlesForMETAllVisible_*_*', 
0046         'drop *_genMetCalo_*_*', 
0047         'drop *_genMetCaloAndNonPrompt_*_*', 
0048         'drop *_genMetTrue_*_*', 
0049         'drop *_genMetIC5GenJs_*_*'),
0050     secondaryFileNames = cms.untracked.vstring()
0051 )
0052 
0053 process.options = cms.untracked.PSet(
0054     SkipEvent = cms.untracked.vstring('ProductNotFound')
0055 )
0056 
0057 # Production Info
0058 process.configurationMetadata = cms.untracked.PSet(
0059     annotation = cms.untracked.string('step2 nevts:10'),
0060     name = cms.untracked.string('Applications'),
0061     version = cms.untracked.string('$Revision: 1.19 $')
0062 )
0063 
0064 # Output definition
0065 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0066     dataset = cms.untracked.PSet(
0067         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0068         filterName = cms.untracked.string('')
0069     ),
0070     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0071     fileName = cms.untracked.string('step2_DIGI_DIGI2RAW2021.root'),
0072     outputCommands = process.FEVTDEBUGEventContent.outputCommands + ['keep *_CTPPS*_*_*',"keep *_*RP*_*_*",'keep *_generatorSmeared_*_*'],
0073     splitLevel = cms.untracked.int32(0)
0074 )
0075 
0076 # Additional output definition
0077 
0078 # Other statements
0079 from Configuration.AlCa.GlobalTag import GlobalTag
0080 #process.GlobalTag = GlobalTag(process.GlobalTag, '113X_mcRun3_2021_realistic_Candidate_2021_04_06_19_59_53', '')
0081 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0082 
0083 
0084 # Path and EndPath definitions
0085 process.digitisation_step = cms.Path(process.pdigi)
0086 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0087 process.digi2raw_step = cms.Path(process.DigiToRaw)
0088 process.endjob_step = cms.EndPath(process.endOfProcess)
0089 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0090 # Schedule definition
0091 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0092 process.schedule.extend([process.endjob_step,process.FEVTDEBUGoutput_step])
0093 
0094 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0095 associatePatAlgosToolsTask(process)
0096 
0097 # Customisation from command line
0098 
0099 # Add early deletion of temporary data products to reduce peak memory need
0100 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0101 process = customiseEarlyDelete(process)
0102 # End adding early deletion