3 import FWCore.ParameterSet.Config
as cms
10 from FastSimulation.TrackingRecHitProducer.PixelPluginsPhase0_cfi
import pixelPluginsPhase0
11 from FastSimulation.TrackingRecHitProducer.PixelPluginsPhase1_cfi
import pixelPluginsPhase1
12 from FastSimulation.TrackingRecHitProducer.PixelPluginsPhase2_cfi
import pixelPluginsPhase2
16 fastTrackerRecHits = cms.EDProducer(
"TrackingRecHitProducer",
17 simHits = cms.InputTag(
"fastSimProducer",
"TrackerHits"),
18 plugins = pixelPluginsPhase0
22 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
23 phase1Pixel.toModify(fastTrackerRecHits, plugins = pixelPluginsPhase1)
26 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
27 phase2_tracker.toModify(fastTrackerRecHits, plugins = pixelPluginsPhase2)
30 trackerStripGaussianResolutions={
32 1: cms.double(0.00195),
33 2: cms.double(0.00191),
34 3: cms.double(0.00325),
35 4: cms.double(0.00323)
38 1: cms.double(0.00262),
39 2: cms.double(0.00354),
40 3: cms.double(0.00391)
43 1: cms.double(0.00461),
44 2: cms.double(0.00458),
45 3: cms.double(0.00488),
46 4: cms.double(0.00491),
47 5: cms.double(0.00293),
48 6: cms.double(0.00299)
51 1: cms.double(0.00262),
52 2: cms.double(0.00354),
53 3: cms.double(0.00391),
54 4: cms.double(0.00346),
55 5: cms.double(0.00378),
56 6: cms.double(0.00508),
57 7: cms.double(0.00422),
58 8: cms.double(0.00434),
59 9: cms.double(0.00432),
63 for subdetId,trackerLayers
in trackerStripGaussianResolutions.items():
64 for trackerLayer, resolutionX
in trackerLayers.items():
65 pluginConfig = cms.PSet(
66 name = cms.string(subdetId+
str(trackerLayer)),
67 type=cms.string(
"TrackingRecHitStripGSPlugin"),
68 resolutionX=resolutionX,
69 select=cms.string(
"(subdetId=="+subdetId+
") && (layer=="+
str(trackerLayer)+
")"),
71 fastTrackerRecHits.plugins.append(pluginConfig)