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 if fastSim.isChosen():
21 quickTrackAssociatorByHits.associateStrip =
False 22 quickTrackAssociatorByHits.associatePixel =
False 23 quickTrackAssociatorByHits.useClusterTPAssociation =
False 25 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
26 phase2_tracker.toModify(
27 quickTrackAssociatorByHits,
28 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
29 stripSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")