Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:51

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.Run2_2018)
0009 
0010 # import of standard configurations
0011 process.load("CondCore.CondDB.CondDB_cfi")
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.StandardSequences.Digi_cff')
0019 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0020 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 # Since the PPS simulation geometry is not yet in the database, the line below is needed
0025 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0026 process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0027 
0028 process.GlobalTag.toGet = cms.VPSet(
0029     cms.PSet(
0030         record = cms.string('CTPPSPixelGainCalibrationsRcd'),
0031         tag = cms.string("CTPPSPixelGainCalibrations_v1_mc"),
0032         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0033         ),
0034     cms.PSet(
0035         record = cms.string('CTPPSPixelAnalysisMaskRcd'),
0036         tag = cms.string("CTPPSPixelAnalysisMask_v1_mc"),
0037         label = cms.untracked.string(""),
0038         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0039         ),
0040     cms.PSet(
0041         record = cms.string('CTPPSPixelDAQMappingRcd'),
0042         tag = cms.string("CTPPSPixelDAQMapping_v1_mc"),
0043         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0044         )
0045 )
0046 # Input source
0047 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0048 process.source = cms.Source("PoolSource",
0049     skipEvents=cms.untracked.uint32(0), 
0050     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0051     fileNames = cms.untracked.vstring('file:step1_SIM2018.root'),
0052     inputCommands = cms.untracked.vstring('keep *', 
0053         'drop *_genParticles_*_*', 
0054         'drop *_genParticlesForJets_*_*', 
0055         'drop *_kt4GenJets_*_*', 
0056         'drop *_kt6GenJets_*_*', 
0057         'drop *_iterativeCone5GenJets_*_*', 
0058         'drop *_ak4GenJets_*_*', 
0059         'drop *_ak7GenJets_*_*', 
0060         'drop *_ak8GenJets_*_*', 
0061         'drop *_ak4GenJetsNoNu_*_*', 
0062         'drop *_ak8GenJetsNoNu_*_*', 
0063         'drop *_genCandidatesForMET_*_*', 
0064         'drop *_genParticlesForMETAllVisible_*_*', 
0065         'drop *_genMetCalo_*_*', 
0066         'drop *_genMetCaloAndNonPrompt_*_*', 
0067         'drop *_genMetTrue_*_*', 
0068         'drop *_genMetIC5GenJs_*_*'),
0069     secondaryFileNames = cms.untracked.vstring()
0070 )
0071 
0072 process.options = cms.untracked.PSet(
0073     SkipEvent = cms.untracked.vstring('ProductNotFound')
0074 )
0075 
0076 # Production Info
0077 process.configurationMetadata = cms.untracked.PSet(
0078     annotation = cms.untracked.string('step2 nevts:10'),
0079     name = cms.untracked.string('Applications'),
0080     version = cms.untracked.string('$Revision: 1.19 $')
0081 )
0082 
0083 # Output definition
0084 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0085     dataset = cms.untracked.PSet(
0086         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0087         filterName = cms.untracked.string('')
0088     ),
0089     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0090     fileName = cms.untracked.string('step2_DIGI_DIGI2RAW2018.root'),
0091     outputCommands = process.FEVTDEBUGEventContent.outputCommands + ['keep *_CTPPS*_*_*',"keep *_*RP*_*_*",'keep *_LHCTransport_*_*'],
0092     splitLevel = cms.untracked.int32(0)
0093 )
0094 
0095 # Additional output definition
0096 
0097 # Other statements
0098 from Configuration.AlCa.GlobalTag import GlobalTag
0099 #process.GlobalTag = GlobalTag(process.GlobalTag, '110X_upgrade2018_realistic_v5')
0100 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0101 
0102 
0103 # Path and EndPath definitions
0104 process.digitisation_step = cms.Path(process.pdigi)
0105 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0106 process.digi2raw_step = cms.Path(process.DigiToRaw)
0107 process.endjob_step = cms.EndPath(process.endOfProcess)
0108 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0109 # Schedule definition
0110 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0111 process.schedule.extend([process.endjob_step,process.FEVTDEBUGoutput_step])
0112 
0113 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0114 associatePatAlgosToolsTask(process)
0115 
0116 # Customisation from command line
0117 
0118 # Add early deletion of temporary data products to reduce peak memory need
0119 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0120 process = customiseEarlyDelete(process)
0121 # End adding early deletion