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 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi as _mod
27 # Pixel tracks
28 hiConformalPixelTracks = _mod.pixelTracks.clone(
29  #passLabel = 'Pixel triplet low-pt tracks with vertex constraint',
30  # Ordered Hits
31  SeedingHitSets = "hiConformalPixelTracksHitTriplets",
32  # Fitter
33  Fitter = 'pixelFitterByConformalMappingAndLine',
34  # Filter
35  Filter = "hiConformalPixelFilter",
36  # Cleaner
37  Cleaner = "trackCleaner"
38 )
39 
40 
41 
42 #Tracking regions - use PV from pp tracking
43 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices
44 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
45  RegionPSet = dict(
46  precise = True,
47  useMultipleScattering = False,
48  useFakeVertices = False,
49  beamSpot = "offlineBeamSpot",
50  useFixedError = True,
51  nSigmaZ = 3.0,
52  sigmaZVertex = 3.0,
53  fixedError = 0.2,
54  VertexCollection = "offlinePrimaryVertices",
55  ptMin = 0.3,
56  useFoundVertices = True,
57  originRadius = 0.2
58  )
59 )
60 
61 # SEEDING LAYERS
62 # Using 4 layers layerlist
63 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers
64 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
65  BPix = cms.PSet(
66  HitProducer = cms.string('siPixelRecHits'),
67  TTRHBuilder = cms.string('WithTrackAngle'),
68  ),
69  FPix = cms.PSet(
70  HitProducer = cms.string('siPixelRecHits'),
71  TTRHBuilder = cms.string('WithTrackAngle'),
72  )
73 )
74 
75 
76 # Hit ntuplets
77 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets
78 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
79  seedingLayers = "hiConformalPixelTracksPhase1SeedLayers",
80  trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions"
81 )
82 
83 
84 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets
85 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
86  doublets = "hiConformalPixelTracksPhase1HitDoubletsCA",
87  CAPhiCut = 0.2,
88  CAThetaCut = 0.0012,
89  SeedComparitorPSet = dict(
90  ComponentName = 'none'
91  ),
92  extraHitRPhitolerance = 0.032,
93  maxChi2 = dict(
94  enabled = True,
95  pt1 = 0.7,
96  pt2 = 2,
97  value1 = 200,
98  value2 = 50
99  )
100 )
101 
102 #Filter
103 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
104  VertexCollection = "offlinePrimaryVertices",
105  chi2 = 999.9,
106  lipMax = 999.0,
107  nSigmaLipMaxTolerance = 999.9,
108  nSigmaTipMaxTolerance = 999.0,
109  ptMax = 999999,
110  ptMin = 0.30,
111  tipMax = 999.0
112 )
113 
114 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
115 phase1Pixel.toModify(hiConformalPixelTracks,
116  Cleaner = 'pixelTrackCleanerBySharedHits',
117  Filter = "hiConformalPixelTracksPhase1Filter",
118  Fitter = "pixelFitterByConformalMappingAndLine",
119  SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA",
120 )
121 
122 hiConformalPixelTracksTask = cms.Task(
123  hiTrackingRegionWithVertex ,
124  hiConformalPixelTracksHitDoublets ,
125  hiConformalPixelTracksHitTriplets ,
126  pixelFitterByConformalMappingAndLine ,
127  hiConformalPixelFilter ,
128  hiConformalPixelTracks
129 )
130 
131 hiConformalPixelTracksTaskPhase1 = cms.Task(
132  hiConformalPixelTracksPhase1TrackingRegions ,
133  hiConformalPixelTracksPhase1SeedLayers ,
134  hiConformalPixelTracksPhase1HitDoubletsCA ,
135  hiConformalPixelTracksPhase1HitQuadrupletsCA ,
136  pixelFitterByConformalMappingAndLine ,
137  hiConformalPixelTracksPhase1Filter ,
138  hiConformalPixelTracks
139 )
140 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
ClusterShapeHitFilterESProducer_cfi
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...
globalTrackingRegionWithVertices_cfi
LowPtQuadStep_cff
trackCleaner_cfi
pixelFitterByConformalMappingAndLine_cfi
HIPixelTrackFilter_cff