CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase1PU70_HighPtTripletStep_cff.py
Go to the documentation of this file.
2 
3 # NEW CLUSTERS (remove previously used clusters)
4 highPtTripletStepClusters = cms.EDProducer("TrackClusterRemover",
5  clusterLessSolution= cms.bool(True),
6  trajectories = cms.InputTag("initialStepTracks"),
7  overrideTrkQuals = cms.InputTag('initialStepSelector','initialStep'),
8  TrackQuality = cms.string('highPurity'),
9  minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
10  pixelClusters = cms.InputTag("siPixelClusters"),
11  stripClusters = cms.InputTag("siStripClusters"),
12  doStripChargeCheck = cms.bool(True),
13  stripRecHits = cms.string('siStripMatchedRecHits'),
14  Common = cms.PSet(
15  maxChi2 = cms.double(9.0),
16  minGoodStripCharge = cms.double(50.0)
17  )
18 )
19 
20 # SEEDING LAYERS
22 highPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
23  layerList = cms.vstring('BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
24  'BPix1+BPix3+BPix4', 'BPix1+BPix2+BPix4',
25  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
26  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
27  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
28  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
29  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
30  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
31  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
32  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
33  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg')
34  )
35 highPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
36 highPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
37 
38 # SEEDS
40 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
41 highPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
42  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
43  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
44  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
45  ptMin = 0.7,
46  originRadius = 0.02,
47  nSigmaZ = 4.0
48  )
49  )
50  )
51 highPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'highPtTripletStepSeedLayers'
52 
54 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
55 highPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
56 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(0)
57 
58 # QUALITY CUTS DURING TRACK BUILDING
59 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
60 highPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
61  ComponentName = 'highPtTripletStepTrajectoryFilter',
62  filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
63  minimumNumberOfHits = 3,
64  minPt = 0.2
65  )
66  )
67 
69 highPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
70  ComponentName = cms.string('highPtTripletStepChi2Est'),
71  nSigma = cms.double(3.0),
72  MaxChi2 = cms.double(30.0)
73 )
74 
75 # TRACK BUILDING
77 highPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
78  ComponentName = 'highPtTripletStepTrajectoryBuilder',
79  MeasurementTrackerName = '',
80  trajectoryFilterName = 'highPtTripletStepTrajectoryFilter',
81  clustersToSkip = cms.InputTag('highPtTripletStepClusters'),
82  maxCand = 4,
83  estimator = cms.string('highPtTripletStepChi2Est'),
84  maxDPhiForLooperReconstruction = cms.double(2.0),
85  # 0.63 GeV is the maximum pT for a charged particle to loop within the 1.1m radius
86  # of the outermost Tracker barrel layer (with B=3.8T)
87  maxPtForLooperReconstruction = cms.double(0.7)
88  )
89 
90 # MAKING OF TRACK CANDIDATES
92 highPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
93  src = cms.InputTag('highPtTripletStepSeeds'),
94  ### these two parameters are relevant only for the CachingSeedCleanerBySharedInput
95  numHitsForSeedCleaner = cms.int32(50),
96  onlyPixelHitsForSeedCleaner = cms.bool(True),
97  TrajectoryBuilder = 'highPtTripletStepTrajectoryBuilder',
98  doSeedingRegionRebuilding = True,
99  useHitsSplitting = True
100 )
101 
102 # TRACK FITTING
104 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
105  src = 'highPtTripletStepTrackCandidates',
106  AlgorithmName = cms.string('iter1'),
107  Fitter = cms.string('FlexibleKFFittingSmoother'),
108  TTRHBuilder=cms.string('WithTrackAngle')
109  )
110 
111 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits
112 highPtTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
113  ComponentName = cms.string('highPtTripletStepTrajectoryCleanerBySharedHits'),
114  fractionShared = cms.double(0.16),
115  allowSharedFirstHit = cms.bool(True)
116  )
117 highPtTripletStepTrackCandidates.TrajectoryCleaner = 'highPtTripletStepTrajectoryCleanerBySharedHits'
118 
119 # Final selection
120 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
121 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
122  src='highPtTripletStepTracks',
123  trackSelectors= cms.VPSet(
124  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
125  name = 'highPtTripletStepLoose',
126  chi2n_par = 2.0,
127  res_par = ( 0.003, 0.002 ),
128  minNumberLayers = 3,
129  maxNumberLostLayers = 3,
130  minNumber3DLayers = 3,
131  d0_par1 = ( 0.7, 4.0 ),
132  dz_par1 = ( 0.8, 4.0 ),
133  d0_par2 = ( 0.4, 4.0 ),
134  dz_par2 = ( 0.6, 4.0 )
135  ), #end of pset
136  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
137  name = 'highPtTripletStepTight',
138  preFilterName = 'highPtTripletStepLoose',
139  chi2n_par = 1.0,
140  res_par = ( 0.003, 0.002 ),
141  minNumberLayers = 3,
142  maxNumberLostLayers = 2,
143  minNumber3DLayers = 3,
144  d0_par1 = ( 0.6, 4.0 ),
145  dz_par1 = ( 0.7, 4.0 ),
146  d0_par2 = ( 0.35, 4.0 ),
147  dz_par2 = ( 0.5, 4.0 )
148  ),
149  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
150  name = 'highPtTripletStep',
151  preFilterName = 'highPtTripletStepTight',
152  chi2n_par = 0.7,
153  res_par = ( 0.003, 0.001 ),
154  minNumberLayers = 3,
155  maxNumberLostLayers = 2,
156  minNumber3DLayers = 3,
157  d0_par1 = ( 0.5, 4.0 ),
158  dz_par1 = ( 0.7, 4.0 ),
159  d0_par2 = ( 0.25, 4.0 ),
160  dz_par2 = ( 0.4, 4.0 )
161  ),
162  ) #end of vpset
163  ) #end of clone
164 
165 # Final sequence
166 HighPtTripletStep = cms.Sequence(highPtTripletStepClusters*
167  highPtTripletStepSeedLayers*
168  highPtTripletStepSeeds*
169  highPtTripletStepTrackCandidates*
170  highPtTripletStepTracks*
171  highPtTripletStepSelector)