1 import FWCore.ParameterSet.Config
as cms
3 quickTrackAssociatorByHits = cms.EDProducer(
"QuickTrackAssociatorByHitsProducer",
4 AbsoluteNumberOfHits = cms.bool(
False),
5 Cut_RecoToSim = cms.double(0.75),
6 SimToRecoDenominator = cms.string(
'reco'),
7 Quality_SimToReco = cms.double(0.5),
8 Purity_SimToReco = cms.double(0.75),
9 ThreeHitTracksAreSpecial = cms.bool(
True),
10 PixelHitWeight = cms.double(1.0),
11 associatePixel = cms.bool(
True),
12 associateStrip = cms.bool(
True),
13 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis"),
14 stripSimLinkSrc = cms.InputTag(
"simSiStripDigis"),
15 useClusterTPAssociation = cms.bool(
True),
16 cluster2TPSrc = cms.InputTag(
"tpClusterProducer")
19 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
20 fastSim.toModify(quickTrackAssociatorByHits,
21 associateStrip =
False,
22 associatePixel =
False,
23 useClusterTPAssociation =
False 26 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
27 phase2_tracker.toModify(
28 quickTrackAssociatorByHits,
29 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
30 stripSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")