CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoTracker/IterativeTracking/python/LowPtTripletStep_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 lowPtTripletStepClusters = 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 # SEEDING LAYERS
00017 import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi
00018 lowPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.pixellayertriplets.clone(
00019     ComponentName = 'lowPtTripletStepSeedLayers'
00020     )
00021 lowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
00022 lowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
00023 
00024 # SEEDS
00025 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff
00026 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
00027 lowPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
00028     RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
00029     ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
00030     RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
00031     ptMin = 0.2,
00032     originRadius = 0.02,
00033     nSigmaZ = 4.0
00034     )
00035     )
00036     )
00037 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtTripletStepSeedLayers'
00038 
00039 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00040 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00041 
00042 
00043 # QUALITY CUTS DURING TRACK BUILDING
00044 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00045 lowPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
00046     ComponentName = 'lowPtTripletStepTrajectoryFilter',
00047     filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
00048     minimumNumberOfHits = 3,
00049     minPt = 0.075
00050     )
00051     )
00052 
00053 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00054 lowPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
00055     ComponentName = cms.string('lowPtTripletStepChi2Est'),
00056     nSigma = cms.double(3.0),
00057     MaxChi2 = cms.double(9.0)
00058 )
00059 
00060 # TRACK BUILDING
00061 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00062 lowPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
00063     ComponentName = 'lowPtTripletStepTrajectoryBuilder',
00064     MeasurementTrackerName = '',
00065     trajectoryFilterName = 'lowPtTripletStepTrajectoryFilter',
00066     clustersToSkip = cms.InputTag('lowPtTripletStepClusters'),
00067     maxCand = 2,
00068     estimator = cms.string('lowPtTripletStepChi2Est')
00069     )
00070 
00071 # MAKING OF TRACK CANDIDATES
00072 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00073 lowPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
00074     src = cms.InputTag('lowPtTripletStepSeeds'),
00075     TrajectoryBuilder = 'lowPtTripletStepTrajectoryBuilder',
00076     doSeedingRegionRebuilding = True,
00077     useHitsSplitting = True
00078     )
00079 
00080 # TRACK FITTING
00081 import RecoTracker.TrackProducer.TrackProducer_cfi
00082 lowPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
00083     src = 'lowPtTripletStepTrackCandidates',
00084     AlgorithmName = cms.string('iter1')
00085     )
00086 
00087 
00088 # Final selection
00089 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00090 lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00091     src='lowPtTripletStepTracks',
00092     trackSelectors= cms.VPSet(
00093         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00094             name = 'lowPtTripletStepLoose',
00095             ), #end of pset
00096         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00097             name = 'lowPtTripletStepTight',
00098             preFilterName = 'lowPtTripletStepLoose',
00099             ),
00100         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00101             name = 'lowPtTripletStep',
00102             preFilterName = 'lowPtTripletStepTight',
00103             ),
00104         ) #end of vpset
00105     ) #end of clone
00106 
00107 # Final sequence
00108 LowPtTripletStep = cms.Sequence(lowPtTripletStepClusters*
00109                                 lowPtTripletStepSeeds*
00110                                 lowPtTripletStepTrackCandidates*
00111                                 lowPtTripletStepTracks*
00112                                 lowPtTripletStepSelector)