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  MeasurementTrackerName = '',
64  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('lowPtForwardTripletStepTrajectoryFilter')),
65  clustersToSkip = cms.InputTag('lowPtForwardTripletStepClusters'),
66  maxCand = 3,
67  estimator = 'lowPtForwardTripletStepChi2Est'
68 )
69 
70 # MAKING OF TRACK CANDIDATES
72 lowPtForwardTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
73  src = 'lowPtForwardTripletStepSeeds',
74  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('lowPtForwardTripletStepTrajectoryBuilder')),
75  doSeedingRegionRebuilding = True,
76  useHitsSplitting = True
77 )
78 
79 # TRACK FITTING
81 lowPtForwardTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
82  src = 'lowPtForwardTripletStepTrackCandidates',
83  AlgorithmName = 'lowPtTripletStep'
84 )
85 
86 # Final selection
87 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
88 lowPtForwardTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
89  src='lowPtForwardTripletStepTracks',
90  trackSelectors= cms.VPSet(
91  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
92  name = 'lowPtForwardTripletStepLoose',
93  ), #end of pset
94  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
95  name = 'lowPtForwardTripletStepTight',
96  preFilterName = 'lowPtForwardTripletStepLoose',
97  ),
98  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
99  name = 'lowPtForwardTripletStep',
100  preFilterName = 'lowPtForwardTripletStepTight',
101  ),
102  ) #end of vpset
103  ) #end of clone
104 
105 # Final sequence
106 LowPtForwardTripletStepTask = cms.Task(lowPtForwardTripletStepClusters,
107  lowPtForwardTripletStepSeedLayers,
108  lowPtForwardTripletStepSeeds,
109  lowPtForwardTripletStepTrackCandidates,
110  lowPtForwardTripletStepTracks,
111  lowPtForwardTripletStepSelector)
112 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