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  OrderedHitsFactoryPSet = dict(
37  SeedingLayers = 'lowPtForwardTripletStepSeedLayers'
38  )
39 )
40 
42 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
43 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
44 
45 # QUALITY CUTS DURING TRACK BUILDING
47 lowPtForwardTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
48  #maxLostHits = 1, ## use LostHitFraction filter instead
49  minimumNumberOfHits = 3,
50  minPt = 0.1
51 )
52 
54 lowPtForwardTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
55  ComponentName = 'lowPtForwardTripletStepChi2Est',
56  nSigma = 3.0,
57  MaxChi2 = 9.0
58 )
59 
60 # TRACK BUILDING
62 lowPtForwardTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
63  trajectoryFilter = dict(refToPSet_ = 'lowPtForwardTripletStepTrajectoryFilter'),
64  clustersToSkip = '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 = dict(refToPSet_ = 'lowPtForwardTripletStepTrajectoryBuilder'),
74  doSeedingRegionRebuilding = True,
75  useHitsSplitting = True,
76 )
77 
78 # TRACK FITTING
79 import RecoTracker.TrackProducer.TrackProducerIterativeDefault_cfi
80 lowPtForwardTripletStepTracks = RecoTracker.TrackProducer.TrackProducerIterativeDefault_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)
TRIGGER SELECTION #####.