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 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
39 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
40 
41 
42 # QUALITY CUTS DURING TRACK BUILDING
44 highPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
45  minimumNumberOfHits = 3,
46  minPt = 0.2
47  )
48 
50 highPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
51  ComponentName = cms.string('highPtTripletStepChi2Est'),
52  nSigma = cms.double(3.0),
53  MaxChi2 = cms.double(9.0)
54 )
55 
56 # TRACK BUILDING
58 highPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
59  MeasurementTrackerName = '',
60  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryFilter')),
61  maxCand = 3,
62  estimator = cms.string('highPtTripletStepChi2Est')
63  )
64 
65 # MAKING OF TRACK CANDIDATES
67 highPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
68  src = cms.InputTag('highPtTripletStepSeeds'),
69  clustersToSkip = cms.InputTag('highPtTripletStepClusters'),
70  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryBuilder')),
71  doSeedingRegionRebuilding = True,
72  useHitsSplitting = True
73  )
74 
75 # TRACK FITTING
77 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
78  src = 'highPtTripletStepTrackCandidates',
79  AlgorithmName = cms.string('iter1')
80  )
81 
82 
83 # Final selection
84 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
85 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
86  src='highPtTripletStepTracks',
87  trackSelectors= cms.VPSet(
88  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
89  name = 'highPtTripletStepLoose',
90  ), #end of pset
91  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
92  name = 'highPtTripletStepTight',
93  preFilterName = 'highPtTripletStepLoose',
94  ),
95  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
96  name = 'highPtTripletStep',
97  preFilterName = 'highPtTripletStepTight',
98  ),
99  ) #end of vpset
100  ) #end of clone
101 
102 # Final sequence
103 HighPtTripletStep = cms.Sequence(highPtTripletStepClusters*
104  highPtTripletStepSeedLayers*
105  highPtTripletStepSeeds*
106  highPtTripletStepTrackCandidates*
107  highPtTripletStepTracks*
108  highPtTripletStepSelector)