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.
1 import FWCore.ParameterSet.Config as cms
2 
3 # NEW CLUSTERS (remove previously used clusters)
5 highPtTripletStepClusters = trackClusterRemover.clone(
6  maxChi2 = cms.double(9.0),
7  trajectories = cms.InputTag("initialStepTracks"),
8  pixelClusters = cms.InputTag("siPixelClusters"),
9  stripClusters = cms.InputTag("siStripClusters"),
10  overrideTrkQuals = cms.InputTag('initialStepSelector','initialStep'),
11  TrackQuality = cms.string('highPurity'),
12 )
13 
14 # SEEDING LAYERS
16 highPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone()
17 highPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
18 highPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('highPtTripletStepClusters')
19 
20 # SEEDS
22 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
23 highPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
24  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
25  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
26  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
27  ptMin = 0.6,
28  originRadius = 0.02,
29  nSigmaZ = 4.0
30  )
31  )
32  )
33 highPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'highPtTripletStepSeedLayers'
34 
36 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
37 highPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
38 
39 
40 # QUALITY CUTS DURING TRACK BUILDING
42 highPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
43  minimumNumberOfHits = 3,
44  minPt = 0.2
45  )
46 
48 highPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
49  ComponentName = cms.string('highPtTripletStepChi2Est'),
50  nSigma = cms.double(3.0),
51  MaxChi2 = cms.double(9.0)
52 )
53 
54 # TRACK BUILDING
56 highPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
57  MeasurementTrackerName = '',
58  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryFilter')),
59  maxCand = 3,
60  estimator = cms.string('highPtTripletStepChi2Est')
61  )
62 
63 # MAKING OF TRACK CANDIDATES
65 highPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
66  src = cms.InputTag('highPtTripletStepSeeds'),
67  clustersToSkip = cms.InputTag('highPtTripletStepClusters'),
68  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryBuilder')),
69  doSeedingRegionRebuilding = True,
70  useHitsSplitting = True
71  )
72 
73 # TRACK FITTING
75 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
76  src = 'highPtTripletStepTrackCandidates',
77  AlgorithmName = cms.string('lowPtTripletStep')
78  )
79 
80 
81 # Final selection
82 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
83 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
84  src='highPtTripletStepTracks',
85  trackSelectors= cms.VPSet(
86  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
87  name = 'highPtTripletStepLoose',
88  ), #end of pset
89  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
90  name = 'highPtTripletStepTight',
91  preFilterName = 'highPtTripletStepLoose',
92  ),
93  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
94  name = 'highPtTripletStep',
95  preFilterName = 'highPtTripletStepTight',
96  ),
97  ) #end of vpset
98  ) #end of clone
99 
100 # Final sequence
101 HighPtTripletStep = cms.Sequence(highPtTripletStepClusters*
102  highPtTripletStepSeedLayers*
103  highPtTripletStepSeeds*
104  highPtTripletStepTrackCandidates*
105  highPtTripletStepTracks*
106  highPtTripletStepSelector)