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.Run2_2016)
0009
0010
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
0025
0026 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0027
0028 process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0029
0030
0031 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0032 process.source = cms.Source("PoolSource",
0033 skipEvents=cms.untracked.uint32(0),
0034 dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0035 fileNames = cms.untracked.vstring('file:step1_SIM2016.root'),
0036 inputCommands = cms.untracked.vstring('keep *',
0037 'drop *_genParticles_*_*',
0038 'drop *_genParticlesForJets_*_*',
0039 'drop *_kt4GenJets_*_*',
0040 'drop *_kt6GenJets_*_*',
0041 'drop *_iterativeCone5GenJets_*_*',
0042 'drop *_ak4GenJets_*_*',
0043 'drop *_ak7GenJets_*_*',
0044 'drop *_ak8GenJets_*_*',
0045 'drop *_ak4GenJetsNoNu_*_*',
0046 'drop *_ak8GenJetsNoNu_*_*',
0047 'drop *_genCandidatesForMET_*_*',
0048 'drop *_genParticlesForMETAllVisible_*_*',
0049 'drop *_genMetCalo_*_*',
0050 'drop *_genMetCaloAndNonPrompt_*_*',
0051 'drop *_genMetTrue_*_*',
0052 'drop *_genMetIC5GenJs_*_*'),
0053 secondaryFileNames = cms.untracked.vstring()
0054 )
0055
0056 process.options = cms.untracked.PSet(
0057 SkipEvent = cms.untracked.vstring('ProductNotFound')
0058 )
0059
0060
0061 process.configurationMetadata = cms.untracked.PSet(
0062 annotation = cms.untracked.string('step2 nevts:10'),
0063 name = cms.untracked.string('Applications'),
0064 version = cms.untracked.string('$Revision: 1.19 $')
0065 )
0066
0067
0068 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0069 dataset = cms.untracked.PSet(
0070 dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0071 filterName = cms.untracked.string('')
0072 ),
0073 eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0074 fileName = cms.untracked.string('step2_DIGI_DIGI2RAW2016.root'),
0075 outputCommands = process.FEVTDEBUGEventContent.outputCommands + ['keep *_CTPPS*_*_*',"keep *_*RP*_*_*",'keep *_LHCTransport_*_*'],
0076 splitLevel = cms.untracked.int32(0)
0077 )
0078
0079
0080
0081
0082 from Configuration.AlCa.GlobalTag import GlobalTag
0083 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0084
0085
0086 process.load('CalibPPS.ESProducers.totemDAQMappingESSourceXML_cfi')
0087 process.totemDAQMappingESSourceXML.configuration = cms.VPSet(
0088 cms.PSet(
0089 validityRange = cms.EventRange("1:min - 999999999:max"),
0090 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_from_fill_5330.xml"),
0091 maskFileNames = cms.vstring()
0092 )
0093 )
0094
0095
0096 process.digitisation_step = cms.Path(process.pdigi)
0097 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0098 process.digi2raw_step = cms.Path(process.DigiToRaw)
0099 process.endjob_step = cms.EndPath(process.endOfProcess)
0100 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0101
0102 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0103 process.schedule.extend([process.endjob_step,process.FEVTDEBUGoutput_step])
0104
0105 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0106 associatePatAlgosToolsTask(process)
0107
0108
0109
0110
0111 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0112 process = customiseEarlyDelete(process)
0113