CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LowPtForwardTripletStep_cff.py
Go to the documentation of this file.
2 
3 # NEW CLUSTERS (remove previously used clusters)
4 lowPtForwardTripletStepClusters = 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 
17 # SEEDING LAYERS
19 lowPtForwardTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone()
20 lowPtForwardTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')
21 lowPtForwardTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')
22 lowPtForwardTripletStepSeedLayers.layerList = cms.vstring('BPix1+BPix2+FPix1_pos',
23  'BPix1+BPix2+FPix1_neg',
24  'BPix1+FPix1_pos+FPix2_pos',
25  'BPix1+FPix1_neg+FPix2_neg')
26 
27 
28 # SEEDS
30 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
31 lowPtForwardTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
32  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
33  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
34  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
35  ptMin = 0.2,
36  originRadius = 0.03,
37  nSigmaZ = 4.0
38  )
39  )
40  )
41 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtForwardTripletStepSeedLayers'
42 
44 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
45 
46 
47 # QUALITY CUTS DURING TRACK BUILDING
48 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
49 lowPtForwardTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
50  ComponentName = 'lowPtForwardTripletStepTrajectoryFilter',
51  filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
52  #maxLostHits = 1, ## use LostHitFraction filter instead
53  minimumNumberOfHits = 3,
54  minPt = 0.1
55  )
56  )
57 
59 lowPtForwardTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
60  ComponentName = cms.string('lowPtForwardTripletStepChi2Est'),
61  nSigma = cms.double(3.0),
62  MaxChi2 = cms.double(9.0)
63 )
64 
65 # TRACK BUILDING
67 lowPtForwardTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
68  ComponentName = 'lowPtForwardTripletStepTrajectoryBuilder',
69  MeasurementTrackerName = '',
70  trajectoryFilterName = 'lowPtForwardTripletStepTrajectoryFilter',
71  clustersToSkip = cms.InputTag('lowPtForwardTripletStepClusters'),
72  maxCand = 3,
73  estimator = cms.string('lowPtForwardTripletStepChi2Est')
74  )
75 
76 # MAKING OF TRACK CANDIDATES
78 lowPtForwardTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
79  src = cms.InputTag('lowPtForwardTripletStepSeeds'),
80  TrajectoryBuilder = 'lowPtForwardTripletStepTrajectoryBuilder',
81  doSeedingRegionRebuilding = True,
82  useHitsSplitting = True
83  )
84 
85 # TRACK FITTING
87 lowPtForwardTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
88  src = 'lowPtForwardTripletStepTrackCandidates',
89  AlgorithmName = cms.string('iter1')
90  )
91 
92 
93 # Final selection
94 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
95 lowPtForwardTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
96  src='lowPtForwardTripletStepTracks',
97  trackSelectors= cms.VPSet(
98  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
99  name = 'lowPtForwardTripletStepLoose',
100  ), #end of pset
101  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
102  name = 'lowPtForwardTripletStepTight',
103  preFilterName = 'lowPtForwardTripletStepLoose',
104  ),
105  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
106  name = 'lowPtForwardTripletStep',
107  preFilterName = 'lowPtForwardTripletStepTight',
108  ),
109  ) #end of vpset
110  ) #end of clone
111 
112 # Final sequence
113 LowPtForwardTripletStep = cms.Sequence(lowPtForwardTripletStepClusters*
114  lowPtForwardTripletStepSeedLayers*
115  lowPtForwardTripletStepSeeds*
116  lowPtForwardTripletStepTrackCandidates*
117  lowPtForwardTripletStepTracks*
118  lowPtForwardTripletStepSelector)