1 import FWCore.ParameterSet.Config
as cms
6 from SimMuon.MCTruth.MuonAssociatorByHits_cfi
import muonAssociatorByHitsCommonParameters
7 muonAssociatorByHitsNoSimHitsHelper = cms.EDProducer(
"MuonToTrackingParticleAssociatorEDProducer",
8 muonAssociatorByHitsCommonParameters
11 muonAssociatorByHitsNoSimHitsHelper.CSCsimHitsTag =
"" 12 muonAssociatorByHitsNoSimHitsHelper.RPCsimhitsTag =
"" 13 muonAssociatorByHitsNoSimHitsHelper.GEMsimhitsTag =
"" 14 muonAssociatorByHitsNoSimHitsHelper.DTsimhitsTag =
"" 26 muonAssociatorByHitsNoSimHitsHelper.UseTracker =
False 28 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
29 run3_GEM.toModify( muonAssociatorByHitsNoSimHitsHelper, useGEMs = cms.bool(
True) )
30 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
31 phase2_tracker.toModify( muonAssociatorByHitsNoSimHitsHelper, usePhase2Tracker = cms.bool(
True) )
32 phase2_tracker.toModify( muonAssociatorByHitsNoSimHitsHelper, pixelSimLinkSrc =
"simSiPixelDigis:Pixel" )