00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import * 00004 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedSeeds_cfi import * 00005 MaterialPropagator.Mass = 0.139 #pion (default is muon) 00006 OppositeMaterialPropagator.Mass = 0.139 00007 00008 #trajectory filter settings 00009 from TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cff import * 00010 ckfBaseTrajectoryFilter.filterPset.minimumNumberOfHits = 6 #default is 5 00011 ckfBaseTrajectoryFilter.filterPset.minPt = 2.0 #default is 0.9 00012 00013 # trajectory builder settings 00014 CkfTrajectoryBuilder.maxCand = 5 #default is 5 00015 CkfTrajectoryBuilder.intermediateCleaning = False #default is true 00016 CkfTrajectoryBuilder.alwaysUseInvalidHits = False #default is true 00017 00018 ### primary track candidates 00019 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi 00020 hiPrimTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone( 00021 TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds', 00022 TrajectoryBuilder = 'CkfTrajectoryBuilder', #instead of GroupedCkfTrajectoryBuilder 00023 src = 'hiPixelTrackSeeds', 00024 RedundantSeedCleaner = 'none', 00025 doSeedingRegionRebuilding = False 00026 ) 00027 00028