File indexing completed on 2024-04-06 12:26:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("GEMLocalRECO")
0004
0005 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0006
0007
0008 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 process.load('Configuration.StandardSequences.Services_cff')
0026 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0027 process.load('FWCore.MessageService.MessageLogger_cfi')
0028 process.load('Configuration.EventContent.EventContent_cff')
0029 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0030 process.load('Configuration.Geometry.GeometryExtended2015MuonGEMDevReco_cff')
0031 process.load('Configuration.Geometry.GeometryExtended2015MuonGEMDev_cff')
0032 process.load('Configuration.StandardSequences.MagneticField_cff')
0033 process.load('Configuration.StandardSequences.Generator_cff')
0034 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi')
0035 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0036 process.load('Configuration.StandardSequences.SimIdeal_cff')
0037 process.load('Configuration.StandardSequences.Digi_cff')
0038 process.load('Configuration.StandardSequences.Reconstruction_cff')
0039 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0040 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0041
0042 process.load('RecoLocalMuon.GEMRecHit.gemRecHits_cfi')
0043
0044 process.load('RecoLocalMuon.GEMRecHit.me0LocalReco_cff')
0045
0046
0047
0048 from RecoLocalMuon.Configuration.RecoLocalMuon_cff import *
0049 process.localreco = cms.Sequence(muonlocalreco)
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063 from Configuration.AlCa.GlobalTag import GlobalTag
0064
0065
0066 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0067
0068
0069
0070 from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixDTAlignmentConditions
0071 process = fixDTAlignmentConditions(process)
0072 from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixCSCAlignmentConditions
0073 process = fixCSCAlignmentConditions(process)
0074
0075
0076
0077 process.gemRecHits.gemDigiLabel = cms.InputTag("simMuonGEMDigis","","GEMDIGI")
0078 process.rpcRecHits.rpcDigiLabel = cms.InputTag('simMuonRPCDigis')
0079 process.csc2DRecHits.wireDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi")
0080 process.csc2DRecHits.stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi")
0081 process.dt1DRecHits.dtDigiLabel = cms.InputTag("simMuonDTDigis")
0082 process.dt1DCosmicRecHits.dtDigiLabel = cms.InputTag("simMuonDTDigis")
0083
0084
0085
0086 process.load("CalibMuon.CSCCalibration.CSCChannelMapper_cfi")
0087 process.load("CalibMuon.CSCCalibration.CSCIndexer_cfi")
0088 process.CSCIndexerESProducer.AlgoName = cms.string("CSCIndexerPostls1")
0089 process.CSCChannelMapperESProducer.AlgoName = cms.string("CSCChannelMapperPostls1")
0090 process.CSCGeometryESModule.useGangedStripsInME1a = False
0091 process.csc2DRecHits.readBadChannels = cms.bool(False)
0092 process.csc2DRecHits.CSCUseGasGainCorrections = cms.bool(False)
0093
0094
0095
0096 process.gemRecHits = cms.EDProducer("GEMRecHitProducer",
0097 recAlgoConfig = cms.PSet(),
0098 recAlgo = cms.string('GEMRecHitStandardAlgo'),
0099 gemDigiLabel = cms.InputTag("simMuonGEMDigis"),
0100
0101
0102
0103
0104 )
0105
0106
0107
0108 process.source = cms.Source("PoolSource",
0109 fileNames = cms.untracked.vstring(
0110 'file:out_digi.root'
0111
0112
0113 )
0114 )
0115
0116 process.output = cms.OutputModule("PoolOutputModule",
0117 fileName = cms.untracked.string(
0118 'file:out_local_reco_test.root'
0119
0120
0121 ),
0122 outputCommands = cms.untracked.vstring(
0123 'keep *_*_*_*',
0124 ),
0125 SelectEvents = cms.untracked.PSet(
0126 SelectEvents = cms.vstring('rechit_step')
0127 )
0128 )
0129
0130
0131
0132 process.rechit_step = cms.Path(process.localreco+process.gemRecHits+process.me0LocalReco)
0133
0134 process.endjob_step = cms.Path(process.endOfProcess)
0135 process.out_step = cms.EndPath(process.output)
0136
0137
0138 process.schedule = cms.Schedule(
0139 process.rechit_step,
0140 process.endjob_step,
0141 process.out_step
0142 )
0143