CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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     minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
00010     pixelClusters = cms.InputTag("siPixelClusters"),
00011     stripClusters = cms.InputTag("siStripClusters"),
00012     Common = cms.PSet(
00013         maxChi2 = cms.double(9.0)
00014     )
00015 )
00016 
00017 # SEEDING LAYERS
00018 import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi
00019 lowPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.pixellayertriplets.clone(
00020     ComponentName = 'lowPtTripletStepSeedLayers'
00021     )
00022 lowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
00023 lowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('lowPtTripletStepClusters')
00024 
00025 # SEEDS
00026 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff
00027 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
00028 lowPtTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
00029     RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
00030     ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
00031     RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
00032     ptMin = 0.2,
00033     originRadius = 0.02,
00034     nSigmaZ = 4.0
00035     )
00036     )
00037     )
00038 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'lowPtTripletStepSeedLayers'
00039 
00040 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00041 lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00042 
00043 
00044 # QUALITY CUTS DURING TRACK BUILDING
00045 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00046 lowPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
00047     ComponentName = 'lowPtTripletStepTrajectoryFilter',
00048     filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
00049     minimumNumberOfHits = 3,
00050     minPt = 0.075
00051     )
00052     )
00053 
00054 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00055 lowPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
00056     ComponentName = cms.string('lowPtTripletStepChi2Est'),
00057     nSigma = cms.double(3.0),
00058     MaxChi2 = cms.double(9.0)
00059 )
00060 
00061 # TRACK BUILDING
00062 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00063 lowPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
00064     ComponentName = 'lowPtTripletStepTrajectoryBuilder',
00065     MeasurementTrackerName = '',
00066     trajectoryFilterName = 'lowPtTripletStepTrajectoryFilter',
00067     clustersToSkip = cms.InputTag('lowPtTripletStepClusters'),
00068     maxCand = 3,
00069     estimator = cms.string('lowPtTripletStepChi2Est'),
00070     maxDPhiForLooperReconstruction = cms.double(2.0),
00071     # 0.63 GeV is the maximum pT for a charged particle to loop within the 1.1m radius
00072     # of the outermost Tracker barrel layer (with B=3.8T)
00073     maxPtForLooperReconstruction = cms.double(0.7) 
00074     )
00075 
00076 # MAKING OF TRACK CANDIDATES
00077 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00078 lowPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
00079     src = cms.InputTag('lowPtTripletStepSeeds'),
00080     ### these two parameters are relevant only for the CachingSeedCleanerBySharedInput
00081     numHitsForSeedCleaner = cms.int32(50),
00082     onlyPixelHitsForSeedCleaner = cms.bool(True),
00083 
00084     TrajectoryBuilder = 'lowPtTripletStepTrajectoryBuilder',
00085     doSeedingRegionRebuilding = True,
00086     useHitsSplitting = True
00087 )
00088 
00089 # TRACK FITTING
00090 import RecoTracker.TrackProducer.TrackProducer_cfi
00091 lowPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
00092     src = 'lowPtTripletStepTrackCandidates',
00093     AlgorithmName = cms.string('iter1'),
00094     Fitter = cms.string('FlexibleKFFittingSmoother')
00095     )
00096 
00097 
00098 # Final selection
00099 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00100 lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00101     src='lowPtTripletStepTracks',
00102     trackSelectors= cms.VPSet(
00103         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00104             name = 'lowPtTripletStepLoose',
00105             ), #end of pset
00106         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00107             name = 'lowPtTripletStepTight',
00108             preFilterName = 'lowPtTripletStepLoose',
00109             ),
00110         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00111             name = 'lowPtTripletStep',
00112             preFilterName = 'lowPtTripletStepTight',
00113             ),
00114         ) #end of vpset
00115     ) #end of clone
00116 
00117 # Final sequence
00118 LowPtTripletStep = cms.Sequence(lowPtTripletStepClusters*
00119                                 lowPtTripletStepSeeds*
00120                                 lowPtTripletStepTrackCandidates*
00121                                 lowPtTripletStepTracks*
00122                                 lowPtTripletStepSelector)