CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase1PU70_LowPtTripletStep_cff.py
Go to the documentation of this file.
2 
3 # NEW CLUSTERS (remove previously used clusters)
5 lowPtTripletStepClusters = trackClusterRemover.clone(
6  maxChi2 = cms.double(9.0),
7  trajectories = cms.InputTag("lowPtQuadStepTracks"),
8  pixelClusters = cms.InputTag("siPixelClusters"),
9  stripClusters = cms.InputTag("siStripClusters"),
10  overrideTrkQuals = cms.InputTag('lowPtQuadStepSelector','lowPtQuadStep'),
11  TrackQuality = cms.string('highPurity'),
12  minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
13 )
14 
15 # SEEDING LAYERS
17 lowPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
18  layerList = cms.vstring('BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
19  'BPix1+BPix3+BPix4', 'BPix1+BPix2+BPix4',
20  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
21  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
22  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
23  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
24  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
25  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
26  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
27  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
28  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg')
29  )
30 lowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
31 lowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
32 
33 # SEEDS
35 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
36 lowPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
37  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
38  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
39  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
40  ptMin = 0.35,
41  originRadius = 0.015,
42  nSigmaZ = 4.0
43  )
44  )
45  )
46 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtTripletStepSeedLayers'
47 
49 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
50 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
51 lowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
52 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
53 
54 # QUALITY CUTS DURING TRACK BUILDING
56 lowPtTripletStepStandardTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
57  minimumNumberOfHits = 3,
58  minPt = 0.075
59  )
60 
62 # Composite filter
63 lowPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CompositeTrajectoryFilter_block.clone(
64  filters = [cms.PSet(refToPSet_ = cms.string('lowPtTripletStepStandardTrajectoryFilter')),
65  cms.PSet(reftoPSet_ = cms.string('ClusterShapeTrajectoryFilter'))]
66  )
67 
69 lowPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
70  ComponentName = cms.string('lowPtTripletStepChi2Est'),
71  nSigma = cms.double(3.0),
72  MaxChi2 = cms.double(9.0)
73 )
74 
75 # TRACK BUILDING
77 lowPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
78  MeasurementTrackerName = '',
79  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('lowPtTripletStepTrajectoryFilter')),
80  clustersToSkip = cms.InputTag('lowPtTripletStepClusters'),
81  maxCand = 4,
82  estimator = cms.string('lowPtTripletStepChi2Est'),
83  maxDPhiForLooperReconstruction = cms.double(2.0),
84  # 0.63 GeV is the maximum pT for a charged particle to loop within the 1.1m radius
85  # of the outermost Tracker barrel layer (with B=3.8T)
86  maxPtForLooperReconstruction = cms.double(0.7)
87  )
88 
89 # MAKING OF TRACK CANDIDATES
91 lowPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
92  src = cms.InputTag('lowPtTripletStepSeeds'),
93  ### these two parameters are relevant only for the CachingSeedCleanerBySharedInput
94  numHitsForSeedCleaner = cms.int32(50),
95  onlyPixelHitsForSeedCleaner = cms.bool(True),
96  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('lowPtTripletStepTrajectoryBuilder')),
97  doSeedingRegionRebuilding = True,
98  useHitsSplitting = True
99 )
100 
101 # TRACK FITTING
103 lowPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
104  src = 'lowPtTripletStepTrackCandidates',
105  AlgorithmName = cms.string('lowPtTripletStep'),
106  Fitter = cms.string('FlexibleKFFittingSmoother'),
107  TTRHBuilder=cms.string('WithTrackAngle'), minGoodCharge = cms.double(2069)
108  )
109 
110 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits
111 lowPtTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
112  ComponentName = cms.string('lowPtTripletStepTrajectoryCleanerBySharedHits'),
113  fractionShared = cms.double(0.09),
114  allowSharedFirstHit = cms.bool(True)
115  )
116 lowPtTripletStepTrackCandidates.TrajectoryCleaner = 'lowPtTripletStepTrajectoryCleanerBySharedHits'
117 
118 # Final selection
119 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
120 lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
121  src='lowPtTripletStepTracks',
122  trackSelectors= cms.VPSet(
123  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
124  name = 'lowPtTripletStepLoose',
125  chi2n_par = 2.0,
126  res_par = ( 0.003, 0.002 ),
127  minNumberLayers = 3,
128  maxNumberLostLayers = 2,
129  minNumber3DLayers = 3,
130  d0_par1 = ( 0.8, 4.0 ),
131  dz_par1 = ( 0.7, 4.0 ),
132  d0_par2 = ( 0.5, 4.0 ),
133  dz_par2 = ( 0.5, 4.0 )
134  ), #end of pset
135  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
136  name = 'lowPtTripletStepTight',
137  preFilterName = 'lowPtTripletStepLoose',
138  chi2n_par = 0.9,
139  res_par = ( 0.003, 0.002 ),
140  minNumberLayers = 3,
141  maxNumberLostLayers = 2,
142  minNumber3DLayers = 3,
143  d0_par1 = ( 0.7, 4.0 ),
144  dz_par1 = ( 0.6, 4.0 ),
145  d0_par2 = ( 0.4, 4.0 ),
146  dz_par2 = ( 0.4, 4.0 )
147  ),
148  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
149  name = 'lowPtTripletStep',
150  preFilterName = 'lowPtTripletStepTight',
151  chi2n_par = 0.5,
152  res_par = ( 0.003, 0.001 ),
153  minNumberLayers = 3,
154  maxNumberLostLayers = 2,
155  minNumber3DLayers = 3,
156  d0_par1 = ( 0.6, 4.0 ),
157  dz_par1 = ( 0.45, 4.0 ),
158  d0_par2 = ( 0.3, 4.0 ),
159  dz_par2 = ( 0.4, 4.0 )
160  ),
161  ) #end of vpset
162  ) #end of clone
163 
164 # Final sequence
165 LowPtTripletStep = cms.Sequence(lowPtTripletStepClusters*
166  lowPtTripletStepSeedLayers*
167  lowPtTripletStepSeeds*
168  lowPtTripletStepTrackCandidates*
169  lowPtTripletStepTracks*
170  lowPtTripletStepSelector)