CMS 3D CMS Logo

LowPtBarrelTripletStep_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 lowPtBarrelTripletStepClusters = trackClusterRemover.clone(
6  maxChi2 = 9.0,
7  trajectories = 'lowPtForwardTripletStepTracks',
8  pixelClusters = 'siPixelClusters',
9  stripClusters = 'siStripClusters',
10  oldClusterRemovalInfo = 'lowPtForwardTripletStepClusters',
11  overrideTrkQuals = 'lowPtForwardTripletStepSelector:lowPtForwardTripletStep',
12  TrackQuality = 'highPurity'
13 )
14 
15 # SEEDING LAYERS
17 lowPtBarrelTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
18  BPix = dict(skipClusters = cms.InputTag('lowPtBarrelTripletStepClusters')),
19  FPix = dict(skipClusters = cms.InputTag('lowPtBarrelTripletStepClusters')),
20  layerList = ['BPix1+BPix2+BPix3']
21 )
22 
23 # SEEDS
25 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
26 lowPtBarrelTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
27  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
28  ComponentName = 'GlobalRegionProducerFromBeamSpot',
29  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
30  ptMin = 0.2,
31  originRadius = 0.03,
32  nSigmaZ = 4.0 )
33  )
34 )
35 lowPtBarrelTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtBarrelTripletStepSeedLayers'
36 
38 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
39 lowPtBarrelTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
40 
41 
42 # QUALITY CUTS DURING TRACK BUILDING
44 lowPtBarrelTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
45  #maxLostHits = 3, # use LostHitFraction filter instead
46  minimumNumberOfHits = 3,
47  minPt = 0.1
48 )
49 
51 lowPtBarrelTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
52  ComponentName = 'lowPtBarrelTripletStepChi2Est',
53  nSigma = 3.0,
54  MaxChi2 = 9.0
55 )
56 
57 # TRACK BUILDING
59 lowPtBarrelTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
60  MeasurementTrackerName = '',
61  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('lowPtBarrelTripletStepTrajectoryFilter')),
62  clustersToSkip = cms.InputTag('lowPtBarrelTripletStepClusters'),
63  maxCand = 3,
64  #lostHitPenalty = cms.double(10.0),
65  estimator = 'lowPtBarrelTripletStepChi2Est',
66  # 0.63 GeV is the maximum pT for a charged particle to loop within the 1.1m radius
67  # of the outermost Tracker barrel layer (with B=3.8T)
68  maxPtForLooperReconstruction = cms.double(0.63)
69  # set the variable to a negative value to turn-off the looper reconstruction
70  #maxPtForLooperReconstruction = cms.double(-1.)
71  )
72 
73 # MAKING OF TRACK CANDIDATES
75 lowPtBarrelTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
76  src = 'lowPtBarrelTripletStepSeeds',
77 
78  numHitsForSeedCleaner = cms.int32(50),
79  onlyPixelHitsForSeedCleaner = cms.bool(True),
80  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('lowPtBarrelTripletStepTrajectoryBuilder')),
81  doSeedingRegionRebuilding = True,
82  useHitsSplitting = True,
83  TransientInitialStateEstimatorParameters = cms.PSet(
84  propagatorAlongTISE = cms.string('PropagatorWithMaterialForLoopers'),
85  propagatorOppositeTISE = cms.string('PropagatorWithMaterialForLoopersOpposite'),
86  numberMeasurementsForFit = cms.int32(4)
87  )
88 )
89 
90 
92 
93 # TRACK FITTING
95 lowPtBarrelTripletStepKFTrajectoryFitter = TrackingTools.TrackFitters.KFTrajectoryFitter_cfi.KFTrajectoryFitter.clone(
96  ComponentName = 'lowPtBarrelTripletStepKFTrajectoryFitter',
97  Propagator = 'PropagatorWithMaterialForLoopers'
98 )
99 
101 lowPtBarrelTripletStepKFTrajectorySmoother = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
102  ComponentName = 'lowPtBarrelTripletStepKFTrajectorySmoother',
103  Propagator = 'PropagatorWithMaterialForLoopers',
104  errorRescaling = 10.0
105 )
106 
108 lowPtBarrelTripletStepKFFittingSmoother = TrackingTools.TrackFitters.KFFittingSmoother_cfi.KFFittingSmoother.clone(
109  ComponentName = 'lowPtBarrelTripletStepKFFittingSmoother',
110  Fitter = 'lowPtBarrelTripletStepKFTrajectoryFitter',
111  Smoother = 'lowPtBarrelTripletStepKFTrajectorySmoother',
112  EstimateCut = 20.0,
113  LogPixelProbabilityCut = -14.0,
114  MinNumberOfHits = 3
115 )
116 
118 lowPtBarrelTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
119  src = 'lowPtBarrelTripletStepTrackCandidates',
120  AlgorithmName = 'lowPtTripletStep',
121  Fitter = 'lowPtBarrelTripletStepKFFittingSmoother',
122  #Propagator = cms.string('PropagatorWithMaterialForLoopers'),
123  #NavigationSchool = cms.string('') ### Is the outerHitPattern filled correctly for loopers???
124 )
125 
126 
127 # Final selection
128 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
129 lowPtBarrelTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
130  src = 'lowPtBarrelTripletStepTracks',
131  trackSelectors= cms.VPSet(
132  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
133  name = 'lowPtBarrelTripletStepLoose',
134  ), #end of pset
135  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
136  name = 'lowPtBarrelTripletStepTight',
137  preFilterName = 'lowPtBarrelTripletStepLoose',
138  ),
139  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
140  name = 'lowPtBarrelTripletStep',
141  preFilterName = 'lowPtBarrelTripletStepTight',
142  ),
143  ) #end of vpset
144 ) #end of clone
145 
146 # Final sequence
147 LowPtBarrelTripletStepTask = cms.Task(lowPtBarrelTripletStepClusters,
148  lowPtBarrelTripletStepSeedLayers,
149  lowPtBarrelTripletStepSeeds,
150  lowPtBarrelTripletStepTrackCandidates,
151  lowPtBarrelTripletStepTracks,
152  lowPtBarrelTripletStepSelector)
153 LowPtBarrelTripletStep = cms.Sequence(LowPtBarrelTripletStep)
KFTrajectorySmoother_cfi
TrajectoryFilter_cff
GroupedCkfTrajectoryBuilder_cfi
ClusterShapeHitFilterESProducer_cfi
KFTrajectoryFitter_cfi
KFFittingSmoother_cfi
GlobalTrackingRegionFromBeamSpot_cfi
PixelLayerTriplets_cfi
TRIGGER SELECTION #####.
TrackProducer_cfi
GlobalSeedsFromTriplets_cff
CkfTrackCandidates_cfi
trackClusterRemover_cfi
Chi2MeasurementEstimator_cfi