File indexing completed on 2024-11-27 03:17:54
0001
0002
0003
0004
0005
0006 import FWCore.ParameterSet.Config as cms
0007
0008
0009
0010
0011 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0012 process = cms.Process('L1SEQS',Run2_2016)
0013
0014 process.MessageLogger = cms.Service(
0015 "MessageLogger",
0016 destinations = cms.untracked.vstring('l1tdebug','cerr'),
0017 l1tdebug = cms.untracked.PSet(threshold = cms.untracked.string('DEBUG')),
0018 cerr = cms.untracked.PSet(threshold = cms.untracked.string('WARNING')),
0019 debugModules = cms.untracked.vstring('*'))
0020
0021
0022
0023 process.load('Configuration.StandardSequences.Services_cff')
0024 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0025 process.load('FWCore.MessageService.MessageLogger_cfi')
0026 process.load('Configuration.EventContent.EventContent_cff')
0027 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0028 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0029 process.load('Configuration.StandardSequences.MagneticField_cff')
0030 process.load('Configuration.StandardSequences.Digi_cff')
0031 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0032 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0033 process.load('Configuration.StandardSequences.RawToDigi_cff')
0034 process.load('Configuration.StandardSequences.L1Reco_cff')
0035 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0036 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0037
0038 process.maxEvents = cms.untracked.PSet(
0039 input = cms.untracked.int32(10)
0040 )
0041
0042
0043 process.source = cms.Source("PoolSource",
0044 dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0045
0046 fileNames = cms.untracked.vstring('/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/0A812333-427C-E511-A80A-0025905964A2.root',
0047 '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/1E9D9F9B-467C-E511-85B6-0025905A6090.root',
0048 '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/AA4FBC07-3E7C-E511-B9FC-00261894386C.root',
0049 '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/E2072991-3E7C-E511-803D-002618943947.root',
0050 '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/FAE20D9D-467C-E511-AF39-0025905B85D8.root'),
0051 inputCommands = cms.untracked.vstring('keep *',
0052 'drop *_genParticles_*_*',
0053 'drop *_genParticlesForJets_*_*',
0054 'drop *_kt4GenJets_*_*',
0055 'drop *_kt6GenJets_*_*',
0056 'drop *_iterativeCone5GenJets_*_*',
0057 'drop *_ak4GenJets_*_*',
0058 'drop *_ak7GenJets_*_*',
0059 'drop *_ak8GenJets_*_*',
0060 'drop *_ak4GenJetsNoNu_*_*',
0061 'drop *_ak8GenJetsNoNu_*_*',
0062 'drop *_genCandidatesForMET_*_*',
0063 'drop *_genParticlesForMETAllVisible_*_*',
0064 'drop *_genMetCalo_*_*',
0065 'drop *_genMetCaloAndNonPrompt_*_*',
0066 'drop *_genMetTrue_*_*',
0067 'drop *_genMetIC5GenJs_*_*'),
0068 secondaryFileNames = cms.untracked.vstring()
0069 )
0070
0071 process.options = cms.untracked.PSet(
0072
0073 )
0074
0075
0076 process.configurationMetadata = cms.untracked.PSet(
0077 annotation = cms.untracked.string('debug nevts:10'),
0078 name = cms.untracked.string('Applications'),
0079 version = cms.untracked.string('$Revision: 1.19 $')
0080 )
0081
0082
0083
0084 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0085 dataset = cms.untracked.PSet(
0086 dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-HLTDEBUG'),
0087 filterName = cms.untracked.string('')
0088 ),
0089 eventAutoFlushCompressedSize = cms.untracked.int32(1048576),
0090 fileName = cms.untracked.string('file:step2.root'),
0091 outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0092 splitLevel = cms.untracked.int32(0)
0093 )
0094
0095
0096
0097
0098 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0099 from Configuration.AlCa.GlobalTag import GlobalTag
0100 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0101
0102
0103 process.digitisation_step = cms.Path(process.pdigi_valid)
0104 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0105 process.digi2raw_step = cms.Path(process.DigiToRaw)
0106 process.raw2digi_step = cms.Path(process.RawToDigi)
0107 process.l1reco_step = cms.Path(process.L1Reco)
0108 process.endjob_step = cms.EndPath(process.endOfProcess)
0109 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0110
0111
0112 process.dumpED = cms.EDAnalyzer("EventContentAnalyzer")
0113 process.dumpES = cms.EDAnalyzer("PrintEventSetupContent")
0114 process.load('L1Trigger.L1TCommon.l1tSummaryStage2Digis_cfi')
0115 process.load('L1Trigger.L1TCommon.l1tSummaryStage2SimDigis_cfi')
0116
0117 process.debug_step = cms.Path(
0118
0119
0120 process.l1tSummaryStage2Digis +
0121 process.l1tSummaryStage2SimDigis
0122 )
0123
0124
0125 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.raw2digi_step,process.l1reco_step,process.debug_step,process.endjob_step,process.FEVTDEBUGHLToutput_step)
0126
0127 print("L1T Emulation Sequence is: ")
0128 print(process.SimL1Emulator)
0129
0130
0131
0132
0133
0134
0135 print("DigiToRaw is: ")
0136 print(process.DigiToRaw)