File indexing completed on 2023-03-31 23:02:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
0004 from RecoTracker.PixelSeeding.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
0005 from RecoTracker.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
0006 from RecoTracker.PixelLowPtUtilities.trackCleaner_cfi import *
0007 from RecoTracker.PixelTrackFitting.pixelFitterByConformalMappingAndLine_cfi import *
0008 from RecoHI.HiTracking.HIPixelTrackFilter_cff import *
0009 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
0010
0011
0012 hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone(
0013 clusterCheck = "",
0014 seedingLayers = "PixelLayerTriplets",
0015 trackingRegions = "hiTrackingRegionWithVertex",
0016 maxElement = 50000000,
0017 produceIntermediateHitDoublets = True,
0018 )
0019
0020 hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
0021 doublets = "hiConformalPixelTracksHitDoublets",
0022 maxElement = 5000000,
0023 produceSeedingHitSets = True,
0024 )
0025
0026 import RecoTracker.PixelTrackFitting.pixelTracks_cfi as _mod
0027
0028 hiConformalPixelTracks = _mod.pixelTracks.clone(
0029
0030
0031 SeedingHitSets = "hiConformalPixelTracksHitTriplets",
0032
0033 Fitter = 'pixelFitterByConformalMappingAndLine',
0034
0035 Filter = "hiConformalPixelFilter",
0036
0037 Cleaner = "trackCleaner"
0038 )
0039
0040
0041
0042
0043 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices
0044 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
0045 RegionPSet = dict(
0046 precise = True,
0047 useMultipleScattering = False,
0048 useFakeVertices = False,
0049 beamSpot = "offlineBeamSpot",
0050 useFixedError = True,
0051 nSigmaZ = 3.0,
0052 sigmaZVertex = 3.0,
0053 fixedError = 0.2,
0054 VertexCollection = "offlinePrimaryVertices",
0055 ptMin = 0.3,
0056 useFoundVertices = True,
0057 originRadius = 0.2
0058 )
0059 )
0060
0061
0062
0063 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers
0064 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
0065 BPix = cms.PSet(
0066 HitProducer = cms.string('siPixelRecHits'),
0067 TTRHBuilder = cms.string('WithTrackAngle'),
0068 ),
0069 FPix = cms.PSet(
0070 HitProducer = cms.string('siPixelRecHits'),
0071 TTRHBuilder = cms.string('WithTrackAngle'),
0072 )
0073 )
0074
0075
0076
0077 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets
0078 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
0079 seedingLayers = "hiConformalPixelTracksPhase1SeedLayers",
0080 trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions"
0081 )
0082
0083
0084 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets
0085 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
0086 doublets = "hiConformalPixelTracksPhase1HitDoubletsCA",
0087 CAPhiCut = 0.2,
0088 CAThetaCut = 0.0012,
0089 SeedComparitorPSet = dict(
0090 ComponentName = 'none'
0091 ),
0092 extraHitRPhitolerance = 0.032,
0093 maxChi2 = dict(
0094 enabled = True,
0095 pt1 = 0.7,
0096 pt2 = 2,
0097 value1 = 200,
0098 value2 = 50
0099 )
0100 )
0101
0102
0103 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
0104 VertexCollection = "offlinePrimaryVertices",
0105 chi2 = 30.0,
0106 lipMax = 999.0,
0107 nSigmaLipMaxTolerance = 3.0,
0108 nSigmaTipMaxTolerance = 3.0,
0109 ptMax = 999999,
0110 ptMin = 0.30,
0111 tipMax = 999.0
0112 )
0113
0114 from RecoTracker.PixelTrackFitting.pixelNtupletsFitter_cfi import pixelNtupletsFitter
0115
0116 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0117 phase1Pixel.toModify(hiConformalPixelTracks,
0118 Cleaner = 'pixelTrackCleanerBySharedHits',
0119 Filter = "hiConformalPixelTracksPhase1Filter",
0120 Fitter = "pixelNtupletsFitter",
0121 SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA",
0122 )
0123
0124 hiConformalPixelTracksTask = cms.Task(
0125 hiTrackingRegionWithVertex ,
0126 hiConformalPixelTracksHitDoublets ,
0127 hiConformalPixelTracksHitTriplets ,
0128 pixelFitterByConformalMappingAndLine ,
0129 hiConformalPixelFilter ,
0130 hiConformalPixelTracks
0131 )
0132
0133 hiConformalPixelTracksTaskPhase1 = cms.Task(
0134 hiConformalPixelTracksPhase1TrackingRegions ,
0135 hiConformalPixelTracksPhase1SeedLayers ,
0136 hiConformalPixelTracksPhase1HitDoubletsCA ,
0137 hiConformalPixelTracksPhase1HitQuadrupletsCA ,
0138 pixelNtupletsFitter ,
0139 hiConformalPixelTracksPhase1Filter ,
0140 hiConformalPixelTracks
0141 )
0142 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)