CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTracker/IterativeTracking/python/LowPtForwardTripletStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # NEW CLUSTERS (remove previously used clusters)
00004 lowPtForwardTripletStepClusters = cms.EDProducer("TrackClusterRemover",
00005     clusterLessSolution= cms.bool(True),
00006     trajectories = cms.InputTag("initialStepTracks"),
00007     overrideTrkQuals = cms.InputTag('initialStepSelector','initialStep'),
00008     TrackQuality = cms.string('highPurity'),
00009     pixelClusters = cms.InputTag("siPixelClusters"),
00010     stripClusters = cms.InputTag("siStripClusters"),
00011     Common = cms.PSet(
00012         maxChi2 = cms.double(9.0)
00013     )
00014 )
00015 
00016 
00017 # SEEDING LAYERS
00018 import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi
00019 lowPtForwardTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.pixellayertriplets.clone(
00020     ComponentName = 'lowPtForwardTripletStepSeedLayers'
00021     )
00022 lowPtForwardTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')
00023 lowPtForwardTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('lowPtForwardTripletStepClusters')
00024 lowPtForwardTripletStepSeedLayers.layerList = cms.vstring('BPix1+BPix2+FPix1_pos', 
00025                                                     'BPix1+BPix2+FPix1_neg', 
00026                                                     'BPix1+FPix1_pos+FPix2_pos', 
00027                                                     'BPix1+FPix1_neg+FPix2_neg')
00028 
00029 
00030 # SEEDS
00031 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff
00032 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
00033 lowPtForwardTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
00034     RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
00035     ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
00036     RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
00037     ptMin = 0.2,
00038     originRadius = 0.03,
00039     nSigmaZ = 4.0
00040     )
00041     )
00042     )
00043 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtForwardTripletStepSeedLayers'
00044 
00045 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00046 lowPtForwardTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00047 
00048 
00049 # QUALITY CUTS DURING TRACK BUILDING
00050 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00051 lowPtForwardTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
00052     ComponentName = 'lowPtForwardTripletStepTrajectoryFilter',
00053     filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
00054     #maxLostHits = 1, ## use LostHitFraction filter instead
00055     minimumNumberOfHits = 3,
00056     minPt = 0.1
00057     )
00058     )
00059 
00060 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00061 lowPtForwardTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
00062     ComponentName = cms.string('lowPtForwardTripletStepChi2Est'),
00063     nSigma = cms.double(3.0),
00064     MaxChi2 = cms.double(9.0)
00065 )
00066 
00067 # TRACK BUILDING
00068 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00069 lowPtForwardTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
00070     ComponentName = 'lowPtForwardTripletStepTrajectoryBuilder',
00071     MeasurementTrackerName = '',
00072     trajectoryFilterName = 'lowPtForwardTripletStepTrajectoryFilter',
00073     clustersToSkip = cms.InputTag('lowPtForwardTripletStepClusters'),
00074     maxCand = 3,
00075     estimator = cms.string('lowPtForwardTripletStepChi2Est')
00076     )
00077 
00078 # MAKING OF TRACK CANDIDATES
00079 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00080 lowPtForwardTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
00081     src = cms.InputTag('lowPtForwardTripletStepSeeds'),
00082     TrajectoryBuilder = 'lowPtForwardTripletStepTrajectoryBuilder',
00083     doSeedingRegionRebuilding = True,
00084     useHitsSplitting = True
00085     )
00086 
00087 # TRACK FITTING
00088 import RecoTracker.TrackProducer.TrackProducer_cfi
00089 lowPtForwardTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
00090     src = 'lowPtForwardTripletStepTrackCandidates',
00091     AlgorithmName = cms.string('iter1')
00092     )
00093 
00094 
00095 # Final selection
00096 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00097 lowPtForwardTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00098     src='lowPtForwardTripletStepTracks',
00099     trackSelectors= cms.VPSet(
00100         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00101             name = 'lowPtForwardTripletStepLoose',
00102             ), #end of pset
00103         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00104             name = 'lowPtForwardTripletStepTight',
00105             preFilterName = 'lowPtForwardTripletStepLoose',
00106             ),
00107         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00108             name = 'lowPtForwardTripletStep',
00109             preFilterName = 'lowPtForwardTripletStepTight',
00110             ),
00111         ) #end of vpset
00112     ) #end of clone
00113 
00114 # Final sequence
00115 LowPtForwardTripletStep = cms.Sequence(lowPtForwardTripletStepClusters*
00116                                        lowPtForwardTripletStepSeeds*
00117                                        lowPtForwardTripletStepTrackCandidates*
00118                                        lowPtForwardTripletStepTracks*
00119                                        lowPtForwardTripletStepSelector)