CMS 3D CMS Logo

PixelTracks_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Magntic field
4 # Geometry (all CMS)
5 # Tracker Geometry Builder
6 # Tracker Numbering Builder
7 # Reco geometry
8 #from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
9 # for Transient rechits?
13 #-ap include "CalibTracker/Configuration/data/SiPixelLorentzAngle/SiPixelLorentzAngle_Fake.cff"
14 # include "RecoTracker/TransientTrackingRecHit/data/TransientTrackingRecHitBuilderWithoutRefit.cfi"
17 myTTRHBuilderWithoutAngle = RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi.ttrhbwr.clone(
18  StripCPE = 'Fake',
19  ComponentName = 'PixelTTRHBuilderWithoutAngle'
20 )
23 from RecoPixelVertexing.PixelTrackFitting.pixelFitterByHelixProjections_cfi import pixelFitterByHelixProjections
24 from RecoPixelVertexing.PixelTrackFitting.pixelTrackFilterByKinematics_cfi import pixelTrackFilterByKinematics
25 from RecoPixelVertexing.PixelTrackFitting.pixelTrackCleanerBySharedHits_cfi import pixelTrackCleanerBySharedHits
26 from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi import pixelTracks
27 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi import globalTrackingRegionFromBeamSpot as _globalTrackingRegionFromBeamSpot
28 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
29 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
31 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
32 from RecoPixelVertexing.PixelTriplets.pixelQuadrupletMergerEDProducer_cfi import pixelQuadrupletMergerEDProducer as _pixelQuadrupletMergerEDProducer
34 
35 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
36 
37 # TrackingRegion
38 pixelTracksTrackingRegions = _globalTrackingRegionFromBeamSpot.clone()
39 
40 # Hit ntuplets
41 pixelTracksHitDoublets = _hitPairEDProducer.clone(
42  clusterCheck = "",
43  seedingLayers = "PixelLayerTriplets",
44  trackingRegions = "pixelTracksTrackingRegions",
45  maxElement = 0,
46  produceIntermediateHitDoublets = True,
47 )
48 trackingLowPU.toModify(pixelTracksHitDoublets, seedingLayers = "PixelLayerTripletsPreSplitting")
49 
50 pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
51  doublets = "pixelTracksHitDoublets",
52  produceSeedingHitSets = True,
53  SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone()
54 )
55 trackingLowPU.toModify(pixelTracksHitTriplets, SeedComparitorPSet = dict(clusterShapeCacheSrc = "siPixelClusterShapeCachePreSplitting"))
56 
57 pixelTracksSequence = cms.Sequence(
58  pixelTracksTrackingRegions +
59  pixelTracksHitDoublets +
60  pixelTracksHitTriplets +
61  pixelFitterByHelixProjections +
62  pixelTrackFilterByKinematics +
63  pixelTracks
64 )
COSMIC RUN SETTING.