CMS 3D CMS Logo

LowPtForwardTripletStep_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 lowPtForwardTripletStepClusters = trackClusterRemover.clone(
6  maxChi2 = 9.0,
7  trajectories = 'initialStepTracks',
8  pixelClusters = 'siPixelClusters',
9  stripClusters = 'siStripClusters',
10  overrideTrkQuals = 'initialStepSelector:initialStep',
11  TrackQuality = 'highPurity',
12 )
13 
14 # SEEDING LAYERS
16 lowPtForwardTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
17  BPix = dict(skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')),
18  FPix = dict(skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')),
19  layerList = ['BPix1+BPix2+FPix1_pos',
20  'BPix1+BPix2+FPix1_neg',
21  'BPix1+FPix1_pos+FPix2_pos',
22  'BPix1+FPix1_neg+FPix2_neg']
23 )
24 
25 # SEEDS
27 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
28 lowPtForwardTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
29  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
30  ComponentName = 'GlobalRegionProducerFromBeamSpot',
31  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
32  ptMin = 0.2,
33  originRadius = 0.03,
34  nSigmaZ = 4.0)
35  )
36 )
37 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtForwardTripletStepSeedLayers'
38 
40 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
41 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
42 
43 
44 # QUALITY CUTS DURING TRACK BUILDING
46 lowPtForwardTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
47  #maxLostHits = 1, ## use LostHitFraction filter instead
48  minimumNumberOfHits = 3,
49  minPt = 0.1
50 )
51 
53 lowPtForwardTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
54  ComponentName = 'lowPtForwardTripletStepChi2Est',
55  nSigma = 3.0,
56  MaxChi2 = 9.0
57 )
58 
59 # TRACK BUILDING
61 lowPtForwardTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
62  MeasurementTrackerName = '',
63  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('lowPtForwardTripletStepTrajectoryFilter')),
64  clustersToSkip = cms.InputTag('lowPtForwardTripletStepClusters'),
65  maxCand = 3,
66  estimator = 'lowPtForwardTripletStepChi2Est'
67 )
68 
69 # MAKING OF TRACK CANDIDATES
71 lowPtForwardTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
72  src = 'lowPtForwardTripletStepSeeds',
73  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('lowPtForwardTripletStepTrajectoryBuilder')),
74  doSeedingRegionRebuilding = True,
75  useHitsSplitting = True
76 )
77 
78 # TRACK FITTING
80 lowPtForwardTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
81  src = 'lowPtForwardTripletStepTrackCandidates',
82  AlgorithmName = 'lowPtTripletStep'
83 )
84 
85 # Final selection
86 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
87 lowPtForwardTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
88  src='lowPtForwardTripletStepTracks',
89  trackSelectors= cms.VPSet(
90  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
91  name = 'lowPtForwardTripletStepLoose',
92  ), #end of pset
93  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
94  name = 'lowPtForwardTripletStepTight',
95  preFilterName = 'lowPtForwardTripletStepLoose',
96  ),
97  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
98  name = 'lowPtForwardTripletStep',
99  preFilterName = 'lowPtForwardTripletStepTight',
100  ),
101  ) #end of vpset
102  ) #end of clone
103 
104 # Final sequence
105 LowPtForwardTripletStepTask = cms.Task(lowPtForwardTripletStepClusters,
106  lowPtForwardTripletStepSeedLayers,
107  lowPtForwardTripletStepSeeds,
108  lowPtForwardTripletStepTrackCandidates,
109  lowPtForwardTripletStepTracks,
110  lowPtForwardTripletStepSelector)
111 LowPtForwardTripletStep = cms.Sequence(LowPtForwardTripletStepTask)
TrajectoryFilter_cff
GroupedCkfTrajectoryBuilder_cfi
ClusterShapeHitFilterESProducer_cfi
GlobalTrackingRegionFromBeamSpot_cfi
PixelLayerTriplets_cfi
TRIGGER SELECTION #####.
TrackProducer_cfi
GlobalSeedsFromTriplets_cff
CkfTrackCandidates_cfi
trackClusterRemover_cfi
Chi2MeasurementEstimator_cfi