Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006 from RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff import *
00007 from RecoTracker.TransientTrackingRecHit.TTRHBuilders_cff import *
00008
00009
00010 from RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff import *
00011 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
00012 initialStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
00013 RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
00014 ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
00015 RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
00016 ptMin = 0.6,
00017 originRadius = 0.02,
00018 nSigmaZ = 4.0
00019 )
00020 )
00021 )
00022 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00023 initialStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00024
00025
00026 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi
00027 initialStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone(
00028 ComponentName = 'initialStepTrajectoryFilter',
00029 filterPset = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.filterPset.clone(
00030 minimumNumberOfHits = 3,
00031 minPt = 0.2
00032 )
00033 )
00034
00035 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi
00036 initialStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
00037 ComponentName = cms.string('initialStepChi2Est'),
00038 nSigma = cms.double(3.0),
00039 MaxChi2 = cms.double(30.0)
00040 )
00041
00042 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi
00043 initialStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone(
00044 ComponentName = 'initialStepTrajectoryBuilder',
00045 trajectoryFilterName = 'initialStepTrajectoryFilter',
00046 alwaysUseInvalidHits = True,
00047 maxCand = 5,
00048 estimator = cms.string('initialStepChi2Est'),
00049 maxDPhiForLooperReconstruction = cms.double(2.0),
00050 maxPtForLooperReconstruction = cms.double(0.7)
00051 )
00052
00053 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00054 initialStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
00055 src = cms.InputTag('initialStepSeeds'),
00056
00057 numHitsForSeedCleaner = cms.int32(50),
00058 onlyPixelHitsForSeedCleaner = cms.bool(True),
00059
00060 TrajectoryBuilder = 'initialStepTrajectoryBuilder',
00061 doSeedingRegionRebuilding = True,
00062 useHitsSplitting = True
00063 )
00064
00065
00066 import RecoTracker.TrackProducer.TrackProducer_cfi
00067 initialStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
00068 src = 'initialStepTrackCandidates',
00069 AlgorithmName = cms.string('iter0'),
00070 Fitter = cms.string('FlexibleKFFittingSmoother')
00071 )
00072
00073
00074 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00075 initialStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00076 src='initialStepTracks',
00077 trackSelectors= cms.VPSet(
00078 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00079 name = 'initialStepLoose',
00080 ),
00081 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00082 name = 'initialStepTight',
00083 preFilterName = 'initialStepLoose',
00084 ),
00085 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00086 name = 'initialStep',
00087 preFilterName = 'initialStepTight',
00088 ),
00089 )
00090 )
00091
00092
00093 InitialStep = cms.Sequence(initialStepSeeds*
00094 initialStepTrackCandidates*
00095 initialStepTracks*
00096 initialStepSelector)