CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  pixelClusters = cms.InputTag("siPixelClusters"),
10  stripClusters = cms.InputTag("siStripClusters"),
11  Common = cms.PSet(
12  maxChi2 = cms.double(9.0)
13  )
14 )
15 
16 # SEEDING LAYERS
18 highPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone()
19 highPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
20 highPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
21 
22 # SEEDS
24 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
25 highPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
26  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
27  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
28  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
29  ptMin = 0.6,
30  originRadius = 0.02,
31  nSigmaZ = 4.0
32  )
33  )
34  )
35 highPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'highPtTripletStepSeedLayers'
36 
38 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
39 
40 
41 # QUALITY CUTS DURING TRACK BUILDING
42 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
43 highPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
44  ComponentName = 'highPtTripletStepTrajectoryFilter',
45  filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
46  minimumNumberOfHits = 3,
47  minPt = 0.2
48  )
49  )
50 
52 highPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
53  ComponentName = cms.string('highPtTripletStepChi2Est'),
54  nSigma = cms.double(3.0),
55  MaxChi2 = cms.double(9.0)
56 )
57 
58 # TRACK BUILDING
60 highPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
61  ComponentName = 'highPtTripletStepTrajectoryBuilder',
62  MeasurementTrackerName = '',
63  trajectoryFilterName = 'highPtTripletStepTrajectoryFilter',
64  maxCand = 3,
65  estimator = cms.string('highPtTripletStepChi2Est')
66  )
67 
68 # MAKING OF TRACK CANDIDATES
70 highPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
71  src = cms.InputTag('highPtTripletStepSeeds'),
72  clustersToSkip = cms.InputTag('highPtTripletStepClusters'),
73  TrajectoryBuilder = 'highPtTripletStepTrajectoryBuilder',
74  doSeedingRegionRebuilding = True,
75  useHitsSplitting = True
76  )
77 
78 # TRACK FITTING
80 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
81  src = 'highPtTripletStepTrackCandidates',
82  AlgorithmName = cms.string('iter1')
83  )
84 
85 
86 # Final selection
87 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
88 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
89  src='highPtTripletStepTracks',
90  trackSelectors= cms.VPSet(
91  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
92  name = 'highPtTripletStepLoose',
93  ), #end of pset
94  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
95  name = 'highPtTripletStepTight',
96  preFilterName = 'highPtTripletStepLoose',
97  ),
98  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
99  name = 'highPtTripletStep',
100  preFilterName = 'highPtTripletStepTight',
101  ),
102  ) #end of vpset
103  ) #end of clone
104 
105 # Final sequence
106 HighPtTripletStep = cms.Sequence(highPtTripletStepClusters*
107  highPtTripletStepSeedLayers*
108  highPtTripletStepSeeds*
109  highPtTripletStepTrackCandidates*
110  highPtTripletStepTracks*
111  highPtTripletStepSelector)