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 useClusterTPAssociation = cms.bool(
True),
12 cluster2TPSrc = cms.InputTag(
"tpClusterProducer")
15 quickTrackAssociatorByHitsTrackerHitAssociator = quickTrackAssociatorByHits.clone(
16 useClusterTPAssociation =
False,
17 associateStrip = cms.bool(
True),
18 associatePixel = cms.bool(
True),
19 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis"),
20 stripSimLinkSrc = cms.InputTag(
"simSiStripDigis"),
23 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
24 fastSim.toReplaceWith(quickTrackAssociatorByHits, quickTrackAssociatorByHitsTrackerHitAssociator.clone(
25 associateStrip =
False,
26 associatePixel =
False,
29 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
30 (fastSim & premix_stage2).toModify(quickTrackAssociatorByHits,
31 pixelSimLinkSrc =
"mixData:PixelDigiSimLink",
32 stripSimLinkSrc =
"mixData:StripDigiSimLink",