CMS 3D CMS Logo

HILowPtConformalPixelTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
4 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
10 
11 # Hit ntuplets
12 hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone(
13  clusterCheck = "",
14  seedingLayers = "PixelLayerTriplets",
15  trackingRegions = "hiTrackingRegionWithVertex",
16  maxElement = 50000000,
17  produceIntermediateHitDoublets = True,
18 )
19 
20 hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
21  doublets = "hiConformalPixelTracksHitDoublets",
22  maxElement = 5000000, # increase threshold for triplets in generation step (default: 100000)
23  produceSeedingHitSets = True,
24 )
25 
26 # Pixel tracks
27 hiConformalPixelTracks = cms.EDProducer("PixelTrackProducer",
28 
29  #passLabel = cms.string('Pixel triplet low-pt tracks with vertex constraint'),
30 
31  # Ordered Hits
32  SeedingHitSets = cms.InputTag("hiConformalPixelTracksHitTriplets"),
33 
34  # Fitter
35  Fitter = cms.InputTag('pixelFitterByConformalMappingAndLine'),
36 
37  # Filter
38  Filter = cms.InputTag("hiConformalPixelFilter"),
39 
40  # Cleaner
41  Cleaner = cms.string("trackCleaner")
42  )
43 
44 
45 
46 
47 
48 ###Pixel Tracking - PhaseI geometry
49 
50 #Tracking regions - use PV from pp tracking
51 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices
52 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(RegionPSet=dict(
53  precise = True,
54  useMultipleScattering = False,
55  useFakeVertices = False,
56  beamSpot = "offlineBeamSpot",
57  useFixedError = True,
58  nSigmaZ = 3.0,
59  sigmaZVertex = 3.0,
60  fixedError = 0.2,
61  VertexCollection = "offlinePrimaryVertices",
62  ptMin = 0.3,
63  useFoundVertices = True,
64  originRadius = 0.2
65 ))
66 
67 # SEEDING LAYERS
68 # Using 4 layers layerlist
69 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers
70 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone()
71 hiConformalPixelTracksPhase1SeedLayers.BPix = cms.PSet(
72  HitProducer = cms.string('siPixelRecHits'),
73  TTRHBuilder = cms.string('WithTrackAngle'),
74 )
75 hiConformalPixelTracksPhase1SeedLayers.FPix = cms.PSet(
76  HitProducer = cms.string('siPixelRecHits'),
77  TTRHBuilder = cms.string('WithTrackAngle'),
78 )
79 
80 
81 # Hit ntuplets
82 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets
83 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
84  seedingLayers = "hiConformalPixelTracksPhase1SeedLayers",
85  trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions"
86 )
87 
88 
89 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets
90 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
91  doublets = "hiConformalPixelTracksPhase1HitDoubletsCA",
92  CAPhiCut = 0.2,
93  CAThetaCut = 0.0012,
94  SeedComparitorPSet = cms.PSet(
95  ComponentName = cms.string('none')
96  ),
97  extraHitRPhitolerance = 0.032,
98  maxChi2 = cms.PSet(
99  enabled = cms.bool(True),
100  pt1 = cms.double(0.7),
101  pt2 = cms.double(2),
102  value1 = cms.double(200),
103  value2 = cms.double(50)
104  )
105 )
106 
107 #Filter
108 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
109  VertexCollection = "offlinePrimaryVertices",
110  chi2 = 999.9,
111  lipMax = 999.0,
112  nSigmaLipMaxTolerance = 999.9,
113  nSigmaTipMaxTolerance = 999.0,
114  ptMax = 999999,
115  ptMin = 0.30,
116  tipMax = 999.0
117 )
118 
119 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
120 phase1Pixel.toModify(hiConformalPixelTracks,
121  Cleaner = 'pixelTrackCleanerBySharedHits',
122  Filter = "hiConformalPixelTracksPhase1Filter",
123  Fitter = "pixelFitterByConformalMappingAndLine",
124  SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA",
125 )
126 
127 
128 
129 
130 hiConformalPixelTracksSequence = cms.Sequence(
131  hiTrackingRegionWithVertex +
132  hiConformalPixelTracksHitDoublets +
133  hiConformalPixelTracksHitTriplets +
134  pixelFitterByConformalMappingAndLine +
135  hiConformalPixelFilter +
136  hiConformalPixelTracks
137 )
138 
139 hiConformalPixelTracksSequencePhase1 = cms.Sequence(
140  hiConformalPixelTracksPhase1TrackingRegions +
141  hiConformalPixelTracksPhase1SeedLayers +
142  hiConformalPixelTracksPhase1HitDoubletsCA +
143  hiConformalPixelTracksPhase1HitQuadrupletsCA +
144  pixelFitterByConformalMappingAndLine +
145  hiConformalPixelTracksPhase1Filter +
146  hiConformalPixelTracks
147 )
148 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...