File indexing completed on 2024-04-06 12:21:05
0001
0002 import FWCore.ParameterSet.Config as cms
0003 process = cms.Process("L1TMuonEmulation")
0004 import os
0005 import sys
0006
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008
0009 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(50)
0010 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(False))
0011
0012 process.source = cms.Source('PoolSource',
0013
0014 fileNames = cms.untracked.vstring('file:///afs/cern.ch/work/k/kbunkow/private/omtf_data/SingleMu_15_p_1_1_qtl.root') )
0015
0016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000))
0017
0018
0019 process.load('Configuration.Geometry.GeometryExtended2015Reco_cff')
0020 process.load('Configuration.Geometry.GeometryExtended2015_cff')
0021
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 from Configuration.AlCa.GlobalTag import GlobalTag
0024 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0025
0026
0027
0028 process.load('L1Trigger.L1TMuonOverlap.fakeOmtfParams_cff')
0029 process.esProd = cms.EDAnalyzer("EventSetupRecordDataGetter",
0030 toGet = cms.VPSet(
0031 cms.PSet(record = cms.string('L1TMuonOverlapParamsRcd'),
0032 data = cms.vstring('L1TMuonOverlapParams'))
0033 ),
0034 verbose = cms.untracked.bool(True)
0035 )
0036
0037
0038
0039 process.load('L1Trigger.L1TMuonOverlap.simOmtfDigis_cfi')
0040
0041 process.dumpED = cms.EDAnalyzer("EventContentAnalyzer")
0042 process.dumpES = cms.EDAnalyzer("PrintEventSetupContent")
0043
0044 process.L1TMuonSeq = cms.Sequence( process.esProd
0045 + process.simOmtfDigis
0046 + process.dumpED
0047 + process.dumpES
0048 )
0049
0050 process.L1TMuonPath = cms.Path(process.L1TMuonSeq)
0051
0052 process.out = cms.OutputModule("PoolOutputModule",
0053 fileName = cms.untracked.string("l1tomtf_superprimitives1.root")
0054 )
0055
0056 process.output_step = cms.EndPath(process.out)
0057 process.schedule = cms.Schedule(process.L1TMuonPath)
0058 process.schedule.extend([process.output_step])