CMS 3D CMS Logo

PixelTracks_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 myTTRHBuilderWithoutAngle = RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi.ttrhbwr.clone(
8  StripCPE = 'Fake',
9  ComponentName = 'PixelTTRHBuilderWithoutAngle'
10 )
13 from RecoPixelVertexing.PixelTrackFitting.pixelFitterByHelixProjections_cfi import pixelFitterByHelixProjections
14 from RecoPixelVertexing.PixelTrackFitting.pixelTrackFilterByKinematics_cfi import pixelTrackFilterByKinematics
15 from RecoPixelVertexing.PixelTrackFitting.pixelTrackCleanerBySharedHits_cfi import pixelTrackCleanerBySharedHits
16 from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi import pixelTracks as _pixelTracks
17 from RecoTracker.TkTrackingRegions.globalTrackingRegion_cfi import globalTrackingRegion as _globalTrackingRegion
18 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi import globalTrackingRegionFromBeamSpot as _globalTrackingRegionFromBeamSpot
19 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
20 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
22 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
23 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
24 
25 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
26 
27 # SEEDING LAYERS
28 from RecoTracker.IterativeTracking.InitialStep_cff import initialStepSeedLayers, initialStepHitDoublets, _initialStepCAHitQuadruplets
29 
30 # TrackingRegion
31 pixelTracksTrackingRegions = _globalTrackingRegion.clone()
32 trackingLowPU.toReplaceWith(pixelTracksTrackingRegions, _globalTrackingRegionFromBeamSpot.clone())
33 
34 
35 # Pixel Quadruplets Tracking
36 pixelTracksSeedLayers = initialStepSeedLayers.clone(
37  BPix = dict(HitProducer = "siPixelRecHitsPreSplitting"),
38  FPix = dict(HitProducer = "siPixelRecHitsPreSplitting")
39 )
40 
41 pixelTracksHitDoublets = initialStepHitDoublets.clone(
42  clusterCheck = "",
43  seedingLayers = "pixelTracksSeedLayers",
44  trackingRegions = "pixelTracksTrackingRegions"
45 )
46 
47 pixelTracksHitQuadruplets = _initialStepCAHitQuadruplets.clone(
48  doublets = "pixelTracksHitDoublets",
49  SeedComparitorPSet = dict(clusterShapeCacheSrc = 'siPixelClusterShapeCachePreSplitting')
50 )
51 
52 # for trackingLowPU
53 pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
54  doublets = "pixelTracksHitDoublets",
55  produceSeedingHitSets = True,
56  SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
57  clusterShapeCacheSrc = "siPixelClusterShapeCachePreSplitting"
58  )
59 )
60 
61 pixelTracks = _pixelTracks.clone(
62  SeedingHitSets = "pixelTracksHitQuadruplets"
63 )
64 trackingLowPU.toModify(pixelTracks, SeedingHitSets = "pixelTracksHitTriplets")
65 
66 pixelTracksTask = cms.Task(
67  pixelTracksTrackingRegions,
68  pixelFitterByHelixProjections,
69  pixelTrackFilterByKinematics,
70  pixelTracksSeedLayers,
71  pixelTracksHitDoublets,
72  pixelTracksHitQuadruplets,
73  pixelTracks
74 )
75 _pixelTracksTask_lowPU = pixelTracksTask.copy()
76 _pixelTracksTask_lowPU.replace(pixelTracksHitQuadruplets, pixelTracksHitTriplets)
77 trackingLowPU.toReplaceWith(pixelTracksTask, _pixelTracksTask_lowPU)
78 
79 pixelTracksSequence = cms.Sequence(pixelTracksTask)
SiStripRecHitMatcher_cfi
ClusterShapeHitFilterESProducer_cfi
pixelTrackCleanerBySharedHits_cfi
InitialStep_cff
TTRHBuilderWithoutAngle4PixelTriplets_cfi
PixelLayerTriplets_cfi
TRIGGER SELECTION #####.
TransientTrackingRecHitBuilder_cfi
StripCPEfromTrackAngle_cfi
pixelFitterByHelixProjections_cfi